sinamas
0dc28b7d7f
libgambatte: use ptrdiff_t to represent pitch
2013-02-26 19:44:19 +01:00
sinamas
d445cbd9c7
libgambatte/gambatte: formatting/readability
2013-02-26 19:43:29 +01:00
sinamas
e43c5b07f6
libgambatte/cpu: less magic HF2 constants
2013-02-25 22:44:19 +01:00
sinamas
f70cf21f38
libgambatte/ppu: superflous mask
2013-02-25 21:56:11 +01:00
sinamas
3014b1edaf
libgambatte/cpu: drop f/from_f macros
2013-02-25 21:56:04 +01:00
sinamas
8c6a1150bd
libgambatte/cpu: formatting/readability
2013-02-25 21:55:37 +01:00
sinamas
25d2aef228
libgambatte/sound: formatting/readability
2013-02-25 21:55:22 +01:00
sinamas
b9e715d2c2
libgambatte/sound/length_counter: formatting/readability
2013-02-25 21:53:39 +01:00
sinamas
8fd449cf04
libgambatte/sound/dutyunit: formatting/readability
2013-02-25 21:52:06 +01:00
sinamas
d075a07090
libgambatte/sound/channel1: formatting/readability
2013-02-25 21:43:09 +01:00
sinamas
b885059134
libgambatte/sound/channel2: formatting/readability
2013-02-25 21:42:53 +01:00
sinamas
4c88012856
libgambatte/sound/channel3: formatting/readability
2013-02-25 21:42:32 +01:00
sinamas
f149948787
libgambatte/sound/channel4: formatting/readability/dead code
2013-02-25 21:41:41 +01:00
sinamas
fec81fa302
libgambatte/cartridge: allow mapping rom bank0 in more cases/please blargg
...
blargg seems to be of the opinion that mbc1 allows mapping bank0 via overflow
for carts with few rom banks if his tests are anything to go by. I have no way
of verifying this, but am changing it because it confuses people when his tests
loop forever after succeeding.
2013-02-24 10:23:24 +01:00
sinamas
4bfa055456
libgambatte/ppu: kill github horizontal scrollbar?
2013-02-23 10:44:31 +01:00
sinamas
b8364e055b
libgambatte/ppu: formatting/readability
2013-02-23 10:40:19 +01:00
sinamas
5b4aa5cdd2
libgambatte/ppu: fix broken indentation
...
probably introduced in 9f04bbc226d7cc3c0e64b90a4051bb2dd08eed41
2013-02-22 21:36:13 +01:00
sinamas
a78bcffac6
libgambatte/ppu: less magical lcdc constants
...
add named constants and lcdc query functions.
not everyone has lcdc specs in their heads.
2013-02-22 21:21:21 +01:00
sinamas
f01b9a47a9
libgambatte/ppu: extract loadTileDataByte query functions
...
reduce duplication.
2013-02-22 20:01:11 +01:00
sinamas
9f04bbc226
libgambatte/ppu: unindent
2013-02-22 08:04:45 +01:00
sinamas
2ea38aeeca
libgambatte/state_osd_elements: use smarter array
2013-02-20 20:46:29 +01:00
sinamas
05efd9f4af
libgambatte/bitmap_font: use ptrdiff_t for pitch
2013-02-20 20:28:54 +01:00
sinamas
20abdc825f
libgambatte/bitmap_font: use size_t for text width
2013-02-20 20:23:50 +01:00
sinamas
1a4b00bfb6
trailing whitespace
2013-02-20 20:05:25 +01:00
sinamas
0bfd6e8979
libgambatte/ppu: formatting/readability
2013-02-20 19:41:36 +01:00
sinamas
58f4260a00
libgambatte/video: formatting/readability
2013-02-20 19:37:00 +01:00
sinamas
54199f94db
libgambatte/state_osd_elements: formatting/readability
2013-02-20 19:34:42 +01:00
sinamas
169971960a
libgambatte/minkeeper: formatting/readability
2013-02-20 19:32:34 +01:00
sinamas
9b0a19a4c2
libgambatte/memory: formatting/readability
2013-02-20 19:31:28 +01:00
sinamas
053d9bbb28
libgambatte/mem: formatting/readability
2013-02-20 19:28:11 +01:00
sinamas
f08e81fe01
libgambatte/interruptrequester: formatting/readability
2013-02-20 19:26:38 +01:00
sinamas
9f69873555
libgambatte/gambatte: formatting/readability
2013-02-20 19:25:42 +01:00
sinamas
281644f575
libgambatte: more ideomatic use of sizeof
2013-02-11 19:45:16 +01:00
sinamas
42d96a88b9
bitmap_font: std::reverse exists. use it.
2013-02-11 19:27:29 +01:00
sinamas
668aabc108
statesaver: more conventional/ideomatic style
2013-02-11 18:45:39 +01:00
sinamas
c8bfd3125f
libgambatte: c++11 narrowing conversion warnings
2013-02-10 21:24:29 +01:00
sinamas
95ce63eafd
libgambatte: replace use of std::auto_ptr with tranfer/scoped_ptr
2013-02-10 21:24:28 +01:00
sinamas
5eb6819bb6
libgambatte: fix psg ch3 regression introduced in r165
...
delta optimizations broke ch3 dac off output level.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@364 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-12-15 23:15:34 +00: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
54d4846384
do not include cstdio. not needed anymore.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@348 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-10 21:53:48 +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
505dce78e8
define OF if not defined.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@344 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-06 19:32:43 +00:00
sinamas
0d5aaab62b
loadState: return success. based on patch from Robert Broglia.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@343 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-04 20:10:11 +00:00
sinamas
c3c3aebada
saveState: return success. based on patch from Robert Broglia.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@342 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-04 20:09:00 +00:00
sinamas
cb03e9c355
add saveSavedata method. based on patch from Robert Broglia.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@341 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-04 20:07:35 +00:00
sinamas
025472b23b
whitespace
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@337 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-02 12:29:18 +00:00
sinamas
12a10f63f2
better lyc trigger inhibition hypothesis with evidence.
...
unify and simplify lyc cmp code.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@336 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-02 12:13:27 +00:00
sinamas
a92ae38c77
plug gaping hole in lyc99 flag read behavior.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@335 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-02 12:02:43 +00:00
sinamas
9f122d245d
missing ds ly reg 99 read tests. longer 99 period when ds.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@334 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-09-02 11:54:31 +00:00