96 Commits

Author SHA1 Message Date
sinamas
92200c29d3 gambatte_sdl/parser: use make_pair 2013-03-17 17:46:28 +01:00
sinamas
c33e5ebff4 gambatte_sdl/parser: make parse methods const 2013-03-17 17:41:39 +01:00
sinamas
8e79b1d6a1 gambatte_sdl/parser: formatting/readability 2013-03-17 17:39:27 +01:00
sinamas
8b02f823db gambatte_sdl: unsued variable warnings 2013-03-17 17:37:03 +01:00
sinamas
e847813745 gambatte_sdl: lose empty checks 2013-03-17 17:14:27 +01:00
sinamas
0add1c970e gambatte_sdl/str_to_sdlkey: use make_pair 2013-03-17 16:47:58 +01:00
sinamas
fbb94425e3 gambatte_sdl: define dtor to allow forward declaration 2013-03-17 16:04:56 +01:00
sinamas
b96ce7a3b3 gambatte_sdl: enable failed field to be immutable 2013-03-17 16:00:04 +01:00
sinamas
af814970e2 gambatte_sdl: rename audiodata to audiosink 2013-03-17 15:47:41 +01:00
sinamas
cf915e6601 gambatte_sdl: replace syncfunc with framewait object 2013-03-17 15:41:13 +01:00
sinamas
28aa502287 gambatte_sdl: lower case constants/enums 2013-03-17 15:27:04 +01:00
sinamas
8fd5cc4062 gambatte_sdl: use for_each to print option usage 2013-03-17 15:14:00 +01:00
sinamas
d83999ac28 gambatte_sdl: encapsulate button mapping within inputoption 2013-03-17 15:03:55 +01:00
sinamas
4d9748cdb8 gambatte_sdl: name constants 2013-03-15 19:57:11 +01:00
sinamas
26843aeb96 gambatte_sdl: reduce variable scope 2013-03-15 19:45:04 +01:00
sinamas
1002e77443 gambatte_sdl: name condition 2013-03-13 23:46:11 +01:00
sinamas
03f1756e03 gambatte_sdl: name return value 2013-03-13 23:42:07 +01:00
sinamas
c1c86e2b81 gambatte_sdl: generate desc string on demand now that it's possible 2013-03-13 22:44:34 +01:00
sinamas
19a6e52e35 gambatte_sdl/DescOption: use std::string 2013-03-13 22:41:50 +01:00
sinamas
870a942cfd gambatte_sdl: readability/formatting 2013-03-13 22:34:38 +01:00
sinamas
6096fec767 gambatte_sdl: use sizeof array rather than repeat constant 2013-03-13 21:25:47 +01:00
sinamas
fa7d46cfb0 gambatte_sdl: use std::for_each 2013-03-13 21:21:12 +01:00
sinamas
898b732a9c gambatte_sdl: use value_type 2013-03-13 21:12:33 +01:00
sinamas
345db3a27c gambatte_sdl: use make_pair 2013-03-13 21:11:29 +01:00
sinamas
846a09543a gambatte_sdl: move members to method scope 2013-03-13 21:06:41 +01:00
sinamas
36eeb1f1f5 gambatte_sdl: s/NULL/0 2013-03-13 18:39:18 +01:00
sinamas
464050ba49 gambatte_sdl: replace printf with puts 2013-03-13 18:31:36 +01:00
sinamas
0bd4ac48f3 gambatte_sdl: move event handling to a separate method 2013-03-13 18:28:50 +01:00
sinamas
2b585c5bec gambatte_sdl: blitter cleanup 2013-03-12 20:50:06 +01:00
sinamas
b295ccd65f gambatte_sdl/audiodata: cleanup. use smart_ptrs for sdl frees. 2013-03-11 23:08:39 +01:00
sinamas
643f95b77c gambatte_sdl: fix print help exit success derp introduced in
44b6913a3ab7f2ecc1eca2abdbf0953d904b34d9

kill failed boolean. use EXIT_FAILURE.
initialize all members.
2013-03-11 22:57:19 +01:00
sinamas
06e79c9dce gambatte_sdl: use ptrdiff_t to represent pitch 2013-02-26 19:44:28 +01:00
sinamas
1a4b00bfb6 trailing whitespace 2013-02-20 20:05:25 +01:00
sinamas
3e93e8fcc4 scalebuffer: more ideomatic use of sizeof 2013-02-11 19:47:02 +01:00
sinamas
51c9ea86af gambatte_sdl: c++11 narrowing conversin warnings 2013-02-10 21:49:18 +01:00
sinamas
91a3853be1 gambatte_sdl: replace use of std::auto_ptr with scoped_ptr 2013-02-10 21:24:29 +01:00
sinamas
f1aa6de424 s/aamas@stud.ntnu.no/sinamas@users.sourceforge.net/
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@359 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-10-28 18:32:38 +00:00
sinamas
731d2736eb get rid of cast, sizeof(type).
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@358 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-12 20:27:55 +00:00
sinamas
79813c3fcf scope
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@357 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-12 20:27:12 +00:00
sinamas
1f08f30465 const
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@356 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-12 20:26:28 +00:00
sinamas
7ece5cc3e7 replace *const with [].
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@355 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-12 19:55:45 +00:00
sinamas
44b6913a3a add cli option to show keyboard controls.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@354 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:24:04 +00:00
sinamas
2f853289f8 break line.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@353 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:23:19 +00:00
sinamas
778e4fe028 s/getStr/str. s/getChar/character.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@352 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:22:31 +00:00
sinamas
5a8a9eabd0 s/getDesc/desc/
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@351 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:12:28 +00:00
sinamas
d9891dc87e refactor.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@350 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-11 22:10:58 +00:00
sinamas
9db3603c9b add game pak info method. do not print in libgambatte.
do print rom title and game pak info in qt/sdl ports.
add header checksum info.
add [bad] to qt window title if header checksum is bad.

git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@346 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-10 21:49:36 +00:00
sinamas
7fa1c33a94 return more informative load result.
don't print errors in libgambatte.
use error code string in ports for more informative error message.

git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@345 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-10 21:46:38 +00:00
sinamas
ccf3bdd661 delete man pages
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@332 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-08-20 19:23:02 +00:00
sinamas
18d200aa86 less template bloat
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@320 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-08 15:39:27 +00:00