Commit Graph

522 Commits

Author SHA1 Message Date
Vicki Pfau 420a15a841 GB Video: Don't blank screen on SGB (fixes #1063) 2018-04-23 22:49:36 -07:00
Vicki Pfau 2ca96050f6 GB Video: Fix SGB borders drawing erroneously (fixes #1060) 2018-04-21 21:33:28 -07:00
Vicki Pfau 0207048679 GB Video: Implement MLT_REQ controller iterating 2018-04-21 17:57:49 -07:00
Vicki Pfau 2cd339d3f6 GB Video: Implement ATTR_DIV 2018-04-21 17:36:42 -07:00
Vicki Pfau f29cff2e2f GB Video: Only redraw SGB border when MASK is disabled (fixes #1034) 2018-04-21 17:06:17 -07:00
Vicki Pfau 4101fe54c6 GB Video: Make SGB packet transfers atomic (fixes #1054, closes #1030) 2018-04-21 16:56:51 -07:00
Vicki Pfau 5a7d5766d0 GB: Fix SGB recording dimensions (fixes #1055) 2018-04-20 18:58:23 -07:00
Vicki Pfau 9630583646 GB Video: Fix SGB border transparency 2018-04-18 18:27:14 -07:00
Vicki Pfau 4a10ea2f69 GB MBC: Add MBC6 SRAM support 2018-04-18 18:26:50 -07:00
Vicki Pfau f23f221d49 GB MBC: Fix MBC6 bank switching 2018-04-17 22:44:37 -07:00
Vicki Pfau 97e94610e6 GB Video: Fix SGB palettes on load state 2018-04-02 12:20:52 -07:00
Douglas Christman c9f50b2c5a GB Video: Fix windows shifting down by one pixel when rewinding 2018-04-02 10:02:12 -07:00
Vicki Pfau 16eed8ed34 GB I/O: Fix SGB command clocking (fixes #1029) 2018-03-30 21:11:34 -07:00
Douglas Christman 36de596fdb GB: Fix GBC games running on GBA with BIOS
GBC games can detect if they are running on a GBA by checking if the
low bit of register B is set to 1.  B is set in `GBSkipBIOS`, but
B was not updated when loading a real BIOS.  Load 1 into B after
unmapping the BIOS if the model is set to GBA.
2018-03-28 22:40:03 -07:00
Douglas Christman 016e1596f7 GB Video: Fix SGB border transparency
Make the first color of every palette transparent.
This fixes Pokemon Blue's SGB border (as long as the platform has
initialized its output buffer to white).
2018-03-25 21:08:43 -07:00
Vicki Pfau fac10eae96 GB Memory: Fix OAM DMA blocking regions (fixes #1013) 2018-03-21 09:24:54 -07:00
Vicki Pfau b02b993047 GB: Cancel IRQs if interrupt is unasserted before dispatch (fixes #1000, #1003) 2018-03-01 10:15:36 -08:00
Vicki Pfau 2c870cacf4 GB Audio: Clock frame events on DIV 2018-02-03 23:56:32 -08:00
Vicki Pfau 7ea686a7d9 GB Timer: Fix TIMA/TMA timing 2018-02-03 23:56:32 -08:00
Vicki Pfau a382c1ee9b GB Timer: Fix low bit of DIV resetting 2018-02-03 23:56:32 -08:00
Vicki Pfau d30d892452 Core: Fix ROM patches not being unloaded when disabled (fixes #962) 2018-01-14 19:24:09 -08:00
Vicki Pfau 12931fbe25 GB Video: Implement SGB ATTR_CHR 2018-01-08 23:42:43 -08:00
Vicki Pfau 65207f5c0f GB Video: Fix SGB PAL commands 2018-01-08 23:34:24 -08:00
Vicki Pfau 3723ebea20 GB MBC: Fix MBC2 saves (fixes #954) 2018-01-08 18:24:29 -08:00
Vicki Pfau caea7e0700 GB: Skip BIOS option now works 2018-01-08 08:39:26 -08:00
Vicki Pfau 748e1943f7 GB, GBA Video: Move VRAM allocation to init 2017-12-30 14:20:37 -05:00
Vicki Pfau e192973bc5 Debugger: Migrate identifier lookups 2017-12-28 23:52:03 -05:00
Vicki Pfau a6a6e31169 GB Video: Improved window implementation 2017-12-26 16:48:41 -05:00
Vicki Pfau f3ea4caf84 All: Support building on PPC Mac 2017-12-23 16:23:51 -08:00
Christian Fetzer db408920ca Fix undefined symbols when compiling libretro core as debug build
When building with `cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_LIBRETRO=1`
the resulting lib has undefined symbols that cause issues when loading
the core in GDB.

Functionality is being ifdefed out with the defines MINIMAL_CORE
and DISABLE_THREADING, but some symbols are still used in a few
places.

$ ldd -r mgba_libretro.so
undefined symbol: GBAVideoProxyRendererCreate (./mgba_libretro.so)
undefined symbol: GBAVideoProxyRendererUnshim (./mgba_libretro.so)
undefined symbol: GBAVideoProxyRendererShim (./mgba_libretro.so)
undefined symbol: GBVideoProxyRendererCreate (./mgba_libretro.so)
undefined symbol: GBVideoProxyRendererUnshim (./mgba_libretro.so)
undefined symbol: GBVideoProxyRendererShim (./mgba_libretro.so)
undefined symbol: mVideoLogContextInitialState (./mgba_libretro.so)
undefined symbol: mVideoLoggerAddChannel (./mgba_libretro.so)
undefined symbol: mVideoLoggerAttachChannel (./mgba_libretro.so)
undefined symbol: mVideoLoggerRendererCreate (./mgba_libretro.so)
undefined symbol: mCoreThreadMarkCrashed (./mgba_libretro.so)
2017-12-09 12:57:11 -08:00
Vicki Pfau c9145e18d7 Partially revert "GB: Fix execution state and HALT getting out of sync"
This reverts commit 5d9e4d217a.
2017-11-19 07:29:37 -08:00
Vicki Pfau 5d9e4d217a GB: Fix execution state and HALT getting out of sync 2017-11-13 23:32:12 -08:00
Vicki Pfau 5134e39681 GB IO: Name PCM12/34 2017-11-08 01:09:47 -08:00
Vicki Pfau dec7b6902e GB IO: Use correct lockout register 2017-11-08 01:07:38 -08:00
Vicki Pfau d054be88c7 GB Memory: HDMAs should not start when LCD is off (fixes #310) 2017-11-05 21:46:10 -08:00
Vicki Pfau fb939ab042 GB MBC: Remove erroneous bank 0 wrapping 2017-11-05 21:07:35 -08:00
Vicki Pfau 523aaf1497 GB Video: Only trigger STAT write IRQs when screen is on (fixes #912) 2017-10-18 09:19:10 -07:00
Vicki Pfau 7ebd2d6e75 GB Video: Fix loading states while in mode 3 2017-10-17 21:25:35 -07:00
Vicki Pfau 65665324ef GB Serialize: Partially fix loading SGB states from a GB game 2017-10-17 21:23:07 -07:00
Vicki Pfau a2447d09e3 Debugger: Redo argument handling 2017-10-13 00:28:35 -07:00
Vicki Pfau 8d9d644dfe GB Printer: Fix some edge cases (fixes #895) 2017-10-10 22:30:02 -07:00
Vicki Pfau d3d7b9606c GB: Support CGB lockout 2017-09-26 18:22:09 -07:00
Vicki Pfau b11171c6f1 GB Video: Expand custom palettes to separate BG/OBJ palettes 2017-09-26 18:21:51 -07:00
Vicki Pfau 431ee76c1a GB Video: Fix read mode when enabling LCD 2017-09-26 16:24:58 -07:00
Vicki Pfau a949fdfced GB: Revamp IRQ handling based on new information 2017-09-26 15:40:49 -07:00
Vicki Pfau f27be6e5f2 Core: Fix "macro" tile dynamic sizing 2017-09-24 22:32:32 -07:00
Vicki Pfau 507d033a97 GB Video: Support map cache 2017-09-24 22:32:32 -07:00
Vicki Pfau df9616c15c Core: Revamp tile cache, add untested map cache 2017-09-24 22:31:20 -07:00
Vicki Pfau b750c76d02 GB Core: Fix SGB border option breaking if changed while running 2017-09-07 22:05:11 -07:00
Vicki Pfau 3ae911b829 GB Audio: Fix NRx2 writes while active (fixes #866) 2017-09-05 23:00:20 -07:00