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
sinamas
5d469bd699
m0 irq inhibits lycirq trigger.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@333 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-08-23 16:27:55 +00:00
sinamas
5a3c5ffd8f
ppu: shave off 5 instructions in unrolled tile-draw inner loop on ARM (gcc)
...
help gcc fuse the shifts with the loads since it doesn't manage to fuse them with the ands.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@331 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-29 18:55:19 +00:00
sinamas
0031cecc5f
reorder fields for easier access on ARM
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@328 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-28 12:19:32 +00:00
sinamas
183bb261ff
minkeeper: make updateValue function lut static
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@327 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-28 12:18:51 +00:00
sinamas
8d0bdf218f
allocate vram on heap to reduce field offset sizes for easier access on ARM
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@326 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-26 22:12:41 +00:00
sinamas
eb3c455140
slight tweak for better generated asm (gcc)
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@325 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-26 22:10:11 +00:00
sinamas
f30e23cd0a
tweak ppu unrolled code
...
- combine tileline with tileIndexSign to reduce number of varaibles referenced/spills in inner loop.
- replace loop counter with test for dstend to get rid of potential spill of rmw variable.
- special-case dmg bgoff to get constant twmask
- update tileMapXpos in a way that reduces number of temporaries needed (and avoids gcc x86 stack read+rmw sequence)
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@324 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-15 14:20:31 +00:00
sinamas
f926818370
somewhat tighter. keeps gcc 4.7 from generating crap on x86.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@323 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-07-13 15:56:55 +00:00
sinamas
406589594e
re precise serial timing details. fixes faceball 2000 frame rate.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@314 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-02-26 14:54:54 +00:00
sinamas
2c9679d7bc
more flexible and less confusing return type.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@313 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-02-01 23:41:52 +00:00
sinamas
4785515dac
refactor ancient mbc code somewhat.
...
improve HuC1 hackjob.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@312 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2012-01-26 20:16:06 +00:00
sinamas
5c52567a68
- missing explicit.
...
- missing [].
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@310 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-19 16:53:57 +00:00
sinamas
5ea9d9afe1
saner order of argument evaluation. space.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@309 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-14 23:04:33 +00:00
sinamas
51c55ff068
- fix MBC regression caused by forgetting to re-add rambank bit mask when adding multicart support.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@303 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-12 14:34:34 +00:00
sinamas
231fea8998
cast before printing with %u.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@299 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-10 23:16:31 +00:00
sinamas
4970799b4e
- allow loading HuC1 ROM images.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@292 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-02 22:14:35 +00:00
sinamas
84f0c0aa6a
- Allow 6 digit Game Genie codes.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@291 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-11-02 17:04:45 +00:00
sinamas
3ad6b950d9
libgambatte: - support 9 digit Game Genie codes, and 01xxxxxx Game Shark codes.
...
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@287 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-30 20:57:32 +00:00
sinamas
5cd1ef284f
gambatte_qt: - Add GBC DMG palettes.
...
- Use mapped GBC palette by default for known DMG game titles.
libgambatte: - ROM title getter.
git-svn-id: https://gambatte.svn.sourceforge.net/svnroot/gambatte@285 9dfb2916-2d38-0410-aef4-c5fe6c9ffc24
2011-10-23 18:47:38 +00:00