Commit Graph

120 Commits

Author SHA1 Message Date
YoshiRulz ada256b0f1
Port Gambatte 2019-10-25 22:07:14 +10:00
MrWint a93916e24c Gambatte core: Add RTC divisor offset support. 2019-06-02 13:24:54 +02:00
MrWint 1c0f8ff36b libgambatte: Update makefiles 2019-05-30 21:11:58 +02:00
MrWint 73f4b0bf52 libgambatte: fix setTimeMode typo 2019-05-30 20:53:17 +02:00
MrWint cb7e0b0a82 libgambatte: Remove unused RTC callback 2019-05-30 20:16:54 +02:00
MrWint 7d33d604ae cycle-based RTC 2019-05-28 22:56:39 +02:00
MrWint d4f42d9f32 Make BG layer mask work properly for CGB 2019-05-28 17:42:30 +02:00
MrWint bc2ced1b7f More consistency, restore layer masks 2019-05-28 00:26:59 +02:00
MrWint 1547d324e7 libgambatte: fix interrupt execution anatomy 2019-05-26 20:24:58 +02:00
MrWint 7e851b19f3 Gambatte core: unify DMG and CGB bios handling 2019-05-26 20:11:50 +02:00
MrWint d8c238c9fb libgambatte: timar quirk accuracy 2019-05-26 19:40:19 +02:00
MrWint ca31e9ad72 libgambatte: Non-atomic interrupt handling 2019-05-26 19:29:17 +02:00
MrWint 9d266ce281 libgambatte: hang on invalid opcode 2019-05-26 19:19:39 +02:00
MrWint ae98698758 libgambatte: Refactor Memory 2019-05-26 14:17:22 +02:00
MrWint 51e8ba3cf5 libgambatte: refactor Tima 2019-05-26 12:46:17 +02:00
MrWint 79085f9a3a libgambatte: Remove unused saveState() functions 2019-05-26 12:36:08 +02:00
MrWint b58554f62e libgambatte: Remove unused interrupter 2019-05-26 12:33:32 +02:00
MrWint af42fbb714 Reformat gambatte.cpp 2019-05-26 12:22:53 +02:00
MrWint a79febdef9 Refactor cartridge code 2019-05-26 12:06:40 +02:00
MrWint 92204d527f avoid bools in save state struct 2019-05-26 00:41:03 +02:00
MrWint a177b81b4b Update MinKeeper 2019-05-26 00:18:07 +02:00
MrWint 7b518d0cf7 Update InterruptRequester 2019-05-26 00:13:34 +02:00
MrWint 6036aefd13 Delete unused files 2019-05-26 00:02:49 +02:00
MrWint 2e4f68b29f more idiomatic types 2019-05-25 23:58:44 +02:00
MrWint 3d3de54485 video: formatting 2019-05-25 23:43:05 +02:00
MrWint 6bda071d5f rename MemEventId to IntEventId 2019-05-25 22:53:41 +02:00
MrWint 8247df4be5 pass intreq by ref 2019-05-25 22:37:59 +02:00
MrWint 40167579bb use ptrdiff_t to represent pitch 2019-05-25 22:28:23 +02:00
MrWint 6020542182 CPU refactoring 2019-05-25 22:11:58 +02:00
MrWint a6aeef840a Update PPU 2019-05-25 21:01:50 +02:00
MrWint b99b5a05d6 Update sound 2019-05-25 20:27:44 +02:00
MrWint 1dc9d0e123 allow mapping rom bank0 in more cases 2019-05-25 19:35:42 +02:00
MrWint 85ad140a2c ppu: less magical lcdc constants 2019-05-25 19:29:59 +02:00
MrWint 567756d6cc formatting/readability 2019-05-25 19:18:15 +02:00
MrWint 98076d286d return more informative load result 2019-05-25 18:58:49 +02:00
MrWint a3ee854022 more ideomatic use of sizeof 2019-05-25 18:27:08 +02:00
MrWint 289439528d c++11 narrowing conversion warnings 2019-05-25 18:11:32 +02:00
MrWint 2bd332c862 fix psg ch3 regression introduced in r165 2019-05-25 18:08:14 +02:00
sornerol bfa8f20cf9 Set state.spu.ch1.master = true (Fixes #1539)
This fixes #1539. Prior to 2.2.2, state.spu.ch1.master was set to false when using a BIOS. Starting with 2.2.2, the Game Boy BIOS is required. Setting this to true causes a buzzing sound while the Nintendo logo drops during BIOS.
2019-05-13 13:45:27 -05:00
alyosha-tas 14b5d03180 Gambatte: savestate GB rgb palettes
fixes #1337
2018-11-22 10:11:35 -06:00
zeromus 25ff1f9539 libgambatte CDL - dont log anything while the bios runs (fixes #1349) 2018-11-12 17:52:41 -05:00
alyosha-tas 258fef46d7 Gambatte: Fix states 2018-05-15 08:25:27 -04:00
alyosha-tas 38b84fce09 Gambatte: Recommit Halt changes (now with Gifvex's improvements too) 2018-05-12 12:21:15 -04:00
gifvex f968cbdd73 Gambatte: implement TotalExecutedCycles 2018-04-02 18:19:10 -04:00
nattthebear bd23975201 Hackadoodle to change the initial value of the DIV register? This is probably a bad idea 2018-02-20 18:30:27 -05:00
nattthebear f185f71026 I'm not sure where to start with this one... It wasn't hooked up to the frontend at all; the C# side enum doesn't have this flag. It can already be done with a different option in the frontend ("VBA Vivid".) It was stored in savestates, despite having no effect on emulation. Even with some other hypothetical front end, it could only be set at initial load time, despite the fact that our existing palette manipulation can be edited at any time, of course... 2018-02-03 14:35:38 -05:00
alyosha-tas 2cc092270d Gambatte: Palette selection for GB mode 2018-02-02 18:42:09 -05:00
alyosha-tas e5ded9b139 Gambatte: Merge improvements from gifvex(mcmaeve)
Restores Bios support and loading GB games into GBC
Accuracy imrpovements
2018-01-15 07:45:15 -05:00
alyosha-tas 59bb3e1fc8 Gambatte: Revert behaviour of ROM loading so that GB games will not load in GBC mode 2017-12-29 21:15:01 -05:00
alyosha-tas 63ef676251 GameBoy:
-Remove BIOS support from Gambatte
-Fix GBHawk audio desync
-Fix controllers
2017-11-20 12:14:13 -05:00