Commit Graph

863 Commits

Author SHA1 Message Date
Vicki Pfau 6e1ae2321e GB: Add GBC color palettes for GB games 2019-02-20 20:34:03 -08:00
Vicki Pfau 3a8ff86d6b GB: Fix crash when accessing SRAM if no save loaded and cartridge has no SRAM 2019-02-20 19:44:11 -08:00
Vicki Pfau 0df180c0d0 GB Serialize: Fix loading states with negative pixel x (fixes #1293) 2019-02-12 09:20:37 -08:00
Vicki Pfau eee29545b6 GB MBC: Fix MBC30 SRAM 2019-01-16 11:46:16 -08:00
Vicki Pfau 6158a4fb8d GB Audio: Skip frame if enabled when clock is high 2018-12-05 19:48:40 -08:00
Vicki Pfau 0332db8961 GB Memory: Support running from blocked memory 2018-12-05 19:48:40 -08:00
Vicki Pfau 38bad71e11 GB Video: Changing LYC while LCDC off doesn't affect STAT (fixes #1224) 2018-11-23 16:30:00 -05:00
Vicki Pfau b913419069 Core: Expose timing 2018-10-17 21:40:06 -07:00
Vicki Pfau 0dc7da9a74 GB MBC: Fix MBC1 initialization 2018-10-17 09:55:38 -07:00
Vicki Pfau a748e0c795 All: Partial warnings burndown 2018-10-17 09:21:39 -07:00
Vicki Pfau d5548f6da8 GB Video: More SGB fixes 2018-10-04 10:39:43 -07:00
Vicki Pfau d7f2f5ba06 GB Video: SGB border drawing improvements 2018-10-04 09:46:05 -07:00
Vicki Pfau 23e60e081e GB: Improved SGB2 support 2018-10-04 09:26:03 -07:00
Vicki Pfau e26eeed02a GB, GBA Savedata: Fix leaks when loading masked save (fixes #1197) 2018-10-02 08:22:35 -07:00
Vicki Pfau 426993bbbb GB I/O: Fix inverted button filter 2018-09-29 23:14:43 -07:00
Vicki Pfau 479bee3707 GB, GBA: Fix broken opposing button filter (fixes #1191) 2018-09-29 12:55:35 -07:00
Vicki Pfau 00f5e2ea2a GB Audio: Fix channel 1, 2 reset 2018-09-24 08:31:38 -07:00
Vicki Pfau fdfab146a0 Core: Fix up thread proxy waiting 2018-09-23 13:26:52 -07:00
Vicki Pfau ca9448cd35 GB Audio: Fix channel 1, 2 and 4 reset timing 2018-09-22 15:34:18 -07:00
Vicki Pfau 56107e616f GB Video: Fix windows on reset 2018-09-22 11:13:53 -07:00
Vicki Pfau 6d5e53f2d8 GB, GBA Video: Don't call finishFrame twice in thread proxy 2018-09-22 10:36:02 -07:00
Vicki Pfau 555122e0a1 GB Audio: Improve channel 4 accuracy 2018-09-21 21:41:57 -07:00
Vicki Pfau b6f3a2929d GB, GBA Audio: Adjust mixdown 2018-09-21 17:59:37 -07:00
Vicki Pfau f99bdc07de GB Audio: Fix channel 4 initial LFSR 2018-09-21 14:15:27 -07:00
Vicki Pfau 9703210938 GB Audio: Fix channel 3 reset value 2018-09-21 14:13:54 -07:00
Vicki Pfau 5d8e77d967 GB MBC: Improve multicart detection heuristic (fixes #1177) 2018-09-20 11:56:52 -07:00
Vicki Pfau 65473a97f9 GB Video: Frame event cleanup 2018-09-18 18:51:37 -07:00
Vicki Pfau 0d25e80791 GB: Reset SRAM bank after unmasking save 2018-09-16 23:27:29 -07:00
Vicki Pfau adbda85107 GB: Reset SRAM bank after loading save 2018-09-16 18:46:53 -07:00
Vicki Pfau 69c2969db0 GB, GBA Savedata: Fix unmasking savedata crash 2018-09-15 23:12:29 -07:00
Vicki Pfau e45519075a All: Cleanup 2018-09-04 18:28:55 -07:00
Vicki Pfau 0b47bb1204 Debugger: Add ARMIPS symbol table loading 2018-08-30 18:56:13 -07:00
Vicki Pfau 2c6715d78f GB Serialize: Re-enable border toggling 2018-08-28 15:43:45 -07:00
Vicki Pfau 7cc09c713b GB Video: SGB borders can now be toggled during games (fixes #868) 2018-08-28 13:13:12 -07:00
Vicki Pfau 25cda2d7b2 GB: Fix IRQ disabling on the same T-cycle as an assert 2018-08-09 19:19:14 -07:00
Vicki Pfau 35a56e9507 GB MBC: Fix MMM01 detection heuristic 2018-08-03 18:39:26 -07:00
Vicki Pfau 179c49e5f4 GB Audio: Fix giving blip the wrong diff when blocking 2018-08-02 23:11:14 -07:00
Vicki Pfau ec2e323d22 GB MBC: Fix switching bank 0 2018-08-01 08:41:18 -07:00
Vicki Pfau 575adcaf4c GB MBC: Add MMM01 2018-07-28 01:04:36 -07:00
Vicki Pfau 162fd0b353 GB Audio: More sampling cleanup (fixes #1142) 2018-07-28 00:02:33 -07:00
Vicki Pfau d25d4d30ff GB, GBA Savedata: Fix savestate loading overwriting saves on reset 2018-07-25 21:27:51 -07:00
Vicki Pfau c04d627de8 GB MBC: Partial HuC-1 support 2018-07-22 18:00:16 -07:00
Vicki Pfau 18065c8b62 GB MBC: Fix warnings 2018-07-22 17:54:16 -07:00
Vicki Pfau 4767ae42d2 GB Video: Darken colors in GBA mode 2018-07-04 12:28:55 -07:00
Vicki Pfau 781f2fbb90 GB Video: Fix SCX timing 2018-06-28 13:37:05 -07:00
Vicki Pfau 80472c9f3a GB I/O: DMA register is R/W 2018-06-28 13:37:05 -07:00
Vicki Pfau c2490afe4f GB Audio: Fix initialization 2018-06-28 13:37:05 -07:00
Vicki Pfau 746f2b8e6a GB Video: Fix initialization 2018-06-28 11:52:43 -07:00
Vicki Pfau 3f05b12bc1 GB Memory: Fix HDMAs running when screen is off 2018-06-25 15:17:06 -07:00
Vicki Pfau a19928f030 GB, GBA Video: Fix cache pointer leaking between instances 2018-06-25 10:23:36 -07:00
Vicki Pfau 932f2624c0 GB Video: Set mode variable when disabling LCDC 2018-06-24 16:53:34 -07:00
Vicki Pfau aa0f988daa GB, GBA: Fix interrupted cores from restarting early 2018-06-24 16:26:47 -07:00
Vicki Pfau e78333611d GB: Fix VRAM/palette locking (fixes #1109) 2018-06-24 16:11:37 -07:00
Vicki Pfau f1a9ebec8a GB I/O: Fix JOYP IRQs 2018-06-23 16:34:35 -07:00
Vicki Pfau 9328dddb26 GB: Add more Spaceworld overrides 2018-05-31 18:08:31 -07:00
Vicki Pfau 0b23d219f3 GB: Add override for Pokemon Gold demo (fixes #1097) 2018-05-31 09:23:53 -07:00
Vicki Pfau 2ee648a2bb Core: Fix audio sync breaking when interrupted 2018-05-28 22:50:40 -07:00
Vicki Pfau ed99f8b925 GB Video: Fix enabling window when LY > WY (fixes #409) 2018-05-21 09:52:15 -07:00
Vicki Pfau dadcf40ee2 GB, GBA Audio: Increase max audio volume 2018-05-11 21:21:37 -07:00
Vicki Pfau 56e40b118c GB Audio: Implement capacitor charge 2018-05-11 17:02:58 -07:00
Vicki Pfau 5da017ba0b GB Audio: Slightly better handling of audio reset and ch4 frames (fixes #1016) 2018-05-11 16:57:19 -07:00
Vicki Pfau 67a135e5e7 Qt: Add layer placement features 2018-04-26 18:38:02 -07:00
Vicki Pfau b89b3b6d13 GB Video: Implement SGB ATTR_LINE 2018-04-25 21:19:04 -07:00
Vicki Pfau 7731516388 GB I/O: SGB multiplayer cleanup (fixes #1067) 2018-04-24 21:31:53 -07:00
Vicki Pfau 5d0bbcd512 GB Video: Fix input iteration on SGB (fixes #1064) 2018-04-24 11:21:28 -07:00
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 4d137e7f85 Merge branch 'feature/input-revamp' into medusa 2018-01-30 18:35:15 -08:00
Vicki Pfau ffed2ecd30 Merge branch 'master' into feature/input-revamp 2018-01-30 17:42:09 -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 d1e96a04dc Merge branch 'feature/input-revamp' into medusa 2017-10-04 21:49:53 -07:00
Vicki Pfau 079ceead68 Merge branch 'master' into feature/input-revamp 2017-10-04 10:08:42 -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
Vicki Pfau 48a6bd47ce GB, GBA: Fix sync to video with frameskip 2017-09-03 22:15:48 -07:00
Vicki Pfau 323a6326cd OpenGL: Cleaner video output size changing 2017-08-20 23:08:35 -07:00
Vicki Pfau 8ee270f3f6 GB Serialize: Fix game title check 2017-08-19 12:01:04 -07:00
Vicki Pfau bb6728558d Test: Restructure test suite into multiple executables 2017-08-12 17:27:36 -07:00
Vicki Pfau 66d5106e0b GB Memory: Actually load latch time from savestate 2017-08-12 14:17:43 -07:00
Vicki Pfau 546688f9fb GB Memory: Fix HDMA count starting in mode 0 (fixes #855) 2017-08-12 14:17:43 -07:00
Vicki Pfau f252436d0a GB Video: Fix potential hang when ending mode 0 2017-08-12 14:17:43 -07:00
Vicki Pfau ec1fc632b2 GB MBC: MBC6 skeleton 2017-08-12 14:17:43 -07:00
Vicki Pfau 5930e10cf4 GB Test: Make sure to init core configs 2017-08-05 23:20:25 -07:00
Vicki Pfau ff272a5f1d GB, GBA Serialize: Restore master cycles 2017-08-05 20:48:18 -07:00
Vicki Pfau 4a83ae2007 GB: Boot register fixes 2017-08-05 16:45:51 -07:00
Vicki Pfau 558055277f GB Video: Ability to disable SGB borders 2017-08-05 08:52:58 -07:00
Vicki Pfau a496ddc072 GB: Start building up MGB 2017-08-05 08:52:57 -07:00
Vicki Pfau 3203159123 GB Core: Ability to set default Game Boy model 2017-08-05 07:56:36 -07:00
Vicki Pfau c030fb656f GB, GBA Savedata: Fix savestate-related save overwriting (fixes #834) 2017-08-04 12:42:10 -07:00
Vicki Pfau 5b1e65052c GB: Clean up startup messages 2017-08-04 08:21:18 -07:00
Vicki Pfau 75e609f65c GB: Drop invalid SGB packets 2017-08-03 19:35:00 -07:00
Vicki Pfau da10c3bbec GB Video: Fix regression with modifying BGP mid-scanline 2017-08-03 19:07:54 -07:00
Vicki Pfau 0883dc0815 GB I/O: Improve accuracy of SGB MLT_REG polling (fixes #839) 2017-08-03 14:33:57 -07:00
Vicki Pfau 05c2fc3e0d GB Serialize: Support serializing/deserializing SGB 2017-08-02 23:42:00 -07:00
Vicki Pfau 129af69105 GB Serialize: Fix deserializing video STAT 2017-08-02 23:39:56 -07:00
Vicki Pfau f61c0ce02f GB: Support SGB boot ROM 2017-08-02 17:00:29 -07:00
Vicki Pfau 871c21fb6c GB Video: Further SGB work, support for ATTR_BLK 2017-08-02 14:47:23 -07:00
Vicki Pfau 36c1fb59be GB: Super Game Boy borders 2017-08-01 19:01:55 -07:00
Vicki Pfau 2e0ba4fa1c Merge branch 'master' into feature/input-revamp 2017-07-31 15:59:32 -07:00
Vicki Pfau dc976eaf51 GB SIO: Game Boy Printer 2017-07-30 19:12:59 -07:00
Vicki Pfau 86901d93b6 GB MBC: Fix RTC loading when file size is off 2017-07-29 22:48:37 -07:00
Vicki Pfau a330df2f1f GB MBC: Fix RTC initialization (fixes #825) 2017-07-29 20:32:13 -07:00
Vicki Pfau 558a3ab037 GB Test: Fix tests 2017-07-29 17:40:58 -07:00
Vicki Pfau 5c90abd294 GB, GBA: Fix crashes when attempting to identify null VFiles 2017-07-29 17:32:36 -07:00
Vicki Pfau cd7f7f72e1 GB Memory: Prevent accessing empty SRAM (fixes #831) 2017-07-29 15:31:44 -07:00
Vicki Pfau 0c0fab5402 GB Core: Fix palette loading when loading a foreign config 2017-07-28 14:29:56 -07:00
Vicki Pfau 8a3d54c769 GB Video: Fix 16-bit screenshots (fixes #826) 2017-07-27 15:11:54 -07:00
Vicki Pfau e0f04a0d5a Core: Color formats 2017-07-27 15:11:54 -07:00
Vicki Pfau ce9439031f Qt: Improve QCamera support for 5.5+ 2017-07-26 14:40:06 -07:00
Vicki Pfau 31b9100f38 GB MBC: Pocket Cam support 2017-07-26 13:58:39 -07:00
Vicki Pfau 80cf9646a6 GB MBC: Fix SRAM sizes 4 and 5 2017-07-25 18:36:42 -07:00
Vicki Pfau bf8cc66a85 GB Memory: Initialize peripheral pointers 2017-07-25 18:36:41 -07:00
Vicki Pfau 010cb8f49d GB MBC: Pocket Cam memory should be accessible without enabling 2017-07-25 18:36:41 -07:00
Vicki Pfau 6c0d67cf5f GB Video: Fix dot clock timing being slightly wrong 2017-07-25 13:46:24 -07:00
Vicki Pfau 1a30dcc553 GB Serialize: Fix audio state loading 2017-07-25 13:44:23 -07:00
Vicki Pfau f187fba4fb GB MBC: More detailed TAMA5 implementation, working saves 2017-07-24 13:48:59 -07:00
Vicki Pfau fd7d883e69 GB MBC: Initial TAMA5 support 2017-07-24 10:26:29 -07:00
Vicki Pfau fb035eb0a3 Merge branch 'feature/input-revamp' into medusa 2017-07-12 20:43:13 -07:00
Vicki Pfau 1de4c8dc2e Merge branch 'master' into feature/input-revamp 2017-07-12 18:53:49 -07:00
Vicki Pfau b71ffe711c All: Make FIXED_ROM_BUFFER an option instead of 3DS-only 2017-07-09 10:53:30 -07:00
Vicki Pfau 480dc0f97e GB Audio: Fix incorrect channel 4 iteration 2017-07-08 22:25:54 -07:00
Vicki Pfau 539e63d49b GB Audio: Make audio unsigned with bias (fixes #749) 2017-07-08 21:38:49 -07:00
Vicki Pfau 15d66422a9 GB Audio: Fix zombie mode bit masking 2017-07-08 21:13:54 -07:00
Vicki Pfau 4c439e3819 GB Serialize: Add MBC state serialization 2017-07-08 16:28:04 -07:00
Vicki Pfau 5ce943c580 GB Serialize: Fix timer serialization 2017-07-08 16:28:04 -07:00
Vicki Pfau 09cff0779e Merge branch 'feature/input-revamp' into medusa 2017-07-06 16:09:02 -07:00
Vicki Pfau 97e2004fd3 Merge branch 'master' into feature/input-revamp 2017-07-06 15:16:53 -07:00
Vicki Pfau 7a5190e95e GB Video: Fix LYC regression 2017-07-04 02:17:56 -07:00
Vicki Pfau 32618a5b1d GB Timer: Fix order-of-operations between & and + 2017-06-29 19:00:10 -07:00
Vicki Pfau fc64924cf5 GB MBC: Fix MBC7 sampling 2017-06-28 14:26:03 -07:00
Vicki Pfau cebc3f1cc4 Core: Fix some minor warnings, fix channel labels 2017-06-28 01:06:15 -07:00
Vicki Pfau ab07c280fe Merge branch 'master' into feature/input-revamp 2017-06-25 17:40:23 -07:00
Vicki Pfau 7b543df002 GB MBC: New MBC7 implementation 2017-06-24 18:02:19 -07:00
Vicki Pfau a2c1ef2fcc GB: Add per-game color overrides 2017-06-24 09:39:36 -07:00
Vicki Pfau 4efd494cd7 GB Timer: Improve timer stepping when updating 2017-06-22 02:18:22 -07:00
Vicki Pfau d5c5173889 GB: Reset with initial state of DIV register 2017-06-22 01:29:19 -07:00
Vicki Pfau 3a03d180d2 GB Timer: Fix sub-M-cycle DIV reset timing and edge triggering 2017-06-22 01:20:22 -07:00
Vicki Pfau bd9a9e445e GB: Fix DMA restarting 2017-06-18 22:07:39 -07:00
Vicki Pfau 4eece81b8c GB Audio: Fix square sample range (fixes #546) 2017-06-17 09:44:55 -07:00
Vicki Pfau 700ab0bd36 GB Audio: Fix channel 2 not updating during frame 7 2017-06-17 09:29:57 -07:00
Vicki Pfau 3c64a2e432 GB Timer: Fix TAC write fix 2017-06-16 21:35:04 -07:00
Vicki Pfau aa8f77c18f GB Video: Increase palette entry width to 24 bits 2017-06-13 22:15:48 -07:00
Vicki Pfau e0a414d87f GB Video: Fix regression with loading savestates 2017-06-13 21:20:12 -07:00
Vicki Pfau 34647ffdca GB: Trust ROM header for number of SRAM banks (fixes #726) 2017-06-13 21:14:20 -07:00
Vicki Pfau 48cb8abc21 Merge branch 'master' into medusa 2017-06-13 20:57:22 -07:00
Vicki Pfau 307982116e GB Video: Reset renderer when loading state 2017-06-12 22:13:01 -07:00
Vicki Pfau e2dc5575b9 GB Audio: Fix channel 3 freeze 2017-06-12 07:26:33 -07:00
Vicki Pfau 59922fe2e9 GB Timer: Fix DIV batching if TAC changes 2017-06-12 07:14:19 -07:00
Vicki Pfau 126afa12d9 GB: Implement keypad IRQs 2017-06-11 14:51:48 -07:00
Vicki Pfau 87791b9db9 Core: Move savestate creation time to extdata 2017-06-10 09:27:19 -07:00
Vicki Pfau 49ccb3d080 GB MBC: Minor refactoring, basic Pocket Cam support 2017-06-07 23:06:28 -07:00
Vicki Pfau 202b7b1509 Core: List memory segments in the core 2017-06-05 15:20:58 -07:00
Vicki Pfau f45ff4d35f Merge branch 'feature/input-revamp' into medusa 2017-06-03 21:40:58 -07:00
Vicki Pfau c784fad04a Merge branch 'master' into feature/input-revamp 2017-06-03 17:24:05 -07:00
Vicki Pfau 19ecae8ca1 Debugger: Show current banks 2017-06-02 19:37:36 -07:00
Vicki Pfau 1caa17c00b GB I/O: Fix bootrom running forever 2017-06-02 15:58:00 -07:00
Vicki Pfau 3d77a9d922 GB MBC: Fix initialization and swapping 2017-06-02 11:26:53 -07:00
Vicki Pfau 6fe1f44351 GB Memory: Mark ROM not pristine when doing copy-on-write 2017-05-30 22:31:26 -07:00
Vicki Pfau f84af91173 GB MBC: Add MBC1-M support with basic heuristic 2017-05-30 22:31:26 -07:00
Vicki Pfau 404332e689 Debugger: Add symbol table skeleton, GB support 2017-05-22 22:19:46 -07:00
Vicki Pfau 0b28dad51c GB Memory: Simplify DMA memory accesses 2017-05-22 22:19:46 -07:00
Vicki Pfau fcc8b5c805 Debugger: Add segment breakpoints 2017-05-22 22:19:46 -07:00
Vicki Pfau b5c350bc5b GB Video: Improved video timings (again) 2017-05-19 16:06:50 -07:00
Vicki Pfau 53bcea6373 GB: Fix STAT blocking 2017-05-19 16:06:49 -07:00
Vicki Pfau 8358586cc6 GB Video: Fix resetting proxy backend unnecessarily 2017-04-29 01:39:46 -07:00
Vicki Pfau 91491e704e GB, GBA Core: Ensure the core is halted even if a state is not loaded 2017-04-29 01:39:46 -07:00
Vicki Pfau aec8b82756 GB, GBA Core: Reset audio when loading mVL states so audio sync works 2017-04-29 01:39:46 -07:00
Vicki Pfau 25beafcc11 GB, GBA Core: Only deserialize needed parts of savestates for mVL 2017-04-29 01:39:46 -07:00
Vicki Pfau deffdc79a0 Core: New mVL file format 2017-04-29 01:39:46 -07:00
Vicki Pfau 3021996a49 All: Cleanup and buildfixing 2017-04-29 01:39:45 -07:00
Vicki Pfau 716a245397 GB, GBA Video: Fix integer overflow 2017-04-29 01:39:45 -07:00
Vicki Pfau 8d6edf9033 GB Video: mVL bounds checking 2017-04-29 01:39:45 -07:00
Vicki Pfau 9b0a5e566e GB Video: Fix proxy renderer for GBC 2017-04-29 01:39:12 -07:00
Vicki Pfau 3dbd49a307 GB, GBA Video: Put back missing finishFrame callback 2017-04-29 01:39:12 -07:00
Vicki Pfau d4deaf6292 GB: Video tester 2017-04-29 01:39:12 -07:00
Vicki Pfau db4a873d9c GB: Rearrange some scheduling for better callback ability 2017-04-29 01:39:11 -07:00
Vicki Pfau 154dd2e8e7 Merge branch 'master' into medusa 2017-04-22 02:14:56 -07:00
Vicki Pfau 3a8c5c4bf1 GB: Video/audio channel enabling/disabling 2017-04-21 17:30:30 -07:00
Vicki Pfau faadb5d6a6 FFmpeg: Allow framerate to be adjusted 2017-04-16 00:53:35 -07:00
Vicki Pfau b486223532 GB, GBA: Make ensure clock end frame is always the same 2017-04-15 21:25:07 -07:00
Vicki Pfau f85a18737e Merge branch 'master' into medusa 2017-04-13 00:37:17 -07:00
Vicki Pfau 58c9bcf67a Core: Ability to enumerate and modify video and audio channels 2017-04-12 13:28:21 -07:00
Vicki Pfau 3f71924c34 Merge branch 'master' into medusa 2017-04-09 23:40:17 -07:00
Vicki Pfau e063e05662 Core: Unify peripheral attachment 2017-04-09 19:46:52 -07:00
Vicki Pfau 9567a8632f Merge branch 'master' into medusa 2017-04-04 02:13:31 -07:00
Vicki Pfau ba65740b15 GB: Allow setting DMG palette 2017-04-03 14:32:21 -07:00
Vicki Pfau f73fd7f3da GB: Fix flickering when screen is strobed quickly 2017-04-03 14:31:50 -07:00
Vicki Pfau 5d13a00cf7 GB Video: Fix frame end callbacks not getting called while screen is off 2017-04-02 00:37:33 -07:00
Vicki Pfau a5bcfc7c80 Merge branch 'feature/input-revamp' into medusa 2017-03-26 23:50:02 -07:00
Vicki Pfau fb9df7270d GB: Add input information 2017-03-26 23:39:03 -07:00
Vicki Pfau c9fa9cd78d Core: Have per-core input information 2017-03-26 12:01:26 -07:00
Vicki Pfau cca3a94617 GB Core: Fix uninitialized variable 2017-03-22 15:47:33 -07:00
Vicki Pfau 0a4b47cccf Merge branch 'master' into medusa 2017-03-20 17:37:39 -07:00
Vicki Pfau 91c0f95e5f Core: Only attempt to open BIOS if the path is non-null 2017-03-20 17:37:20 -07:00
Vicki Pfau e1e627e496 Merge branch 'master' into medusa 2017-03-05 18:56:59 -08:00
Vicki Pfau 40ff1ea0c4 GB Serialize: Fix clearing timing when loading state 2017-03-05 17:54:36 -08:00
Vicki Pfau 000f232c58 Core: Begin log revamp 2017-03-05 15:58:00 -08:00
Vicki Pfau 97f915e617 Core: Support dragging 2017-03-04 11:16:06 -08:00
Vicki Pfau 908b0a425e Core: Have per-core input information 2017-03-02 01:07:09 -08:00
Vicki Pfau 0cb9c41a4a DS: Initial touch support 2017-02-27 11:14:36 -08:00
Vicki Pfau ba3b068df4 Core: Savestates now contain any RTC override data 2017-02-17 18:19:17 -08:00
Vicki Pfau 36553b89d0 GB Audio: Fix audio frame timer deserialization 2017-02-13 02:21:26 -08:00
Vicki Pfau 903ea6bc19 GBA, GB: Fix FrameStarted callback 2017-02-09 22:32:56 -08:00
Vicki Pfau 3ac0b20ff8 Core: Cores can now have multiple sets of callbacks 2017-02-08 11:34:27 -08:00
Vicki Pfau d2016e382a GB, GBA: Improve savestate loading in new timing system 2017-02-04 18:34:54 -08:00
Vicki Pfau 28a3ac50a6 GBA, GB: ROM is now unloaded if a patch is applied 2017-02-01 13:59:43 -08:00
Vicki Pfau 7ed4f38bdd Qt: Revamp BIOS handling 2017-01-23 10:11:13 -08:00
Vicki Pfau a56fd6016d All: Move time.h include to common.h 2017-01-18 15:22:41 -08:00
Vicki Pfau 22a36e0af9 Core: Add generic checksum function 2017-01-17 18:29:58 -08:00
Jeffrey Pfau dc96bdda85 GB Audio: Start implementing "zombie" audio (fixes #389) 2017-01-11 03:32:01 -08:00
Jeffrey Pfau 62718fce45 GB Video: Fix mode end events when turning off LCD 2017-01-11 01:46:49 -08:00
Jeffrey Pfau 0b6bc9ae82 GB MBC: Fix ROM bank overflows getting set to bank 0 2017-01-11 01:35:53 -08:00
Jeffrey Pfau ae12068d2f LR35902: Fix pc overflowing current region off-by-one 2017-01-11 01:35:06 -08:00
Jeffrey Pfau fa884d071e All: Migrate includes to separate directory 2016-12-30 21:25:07 -08:00
Jeffrey Pfau 6d898542c7 Merge branch 'feature/python-bindings' 2016-12-29 01:23:31 -08:00
Jeffrey Pfau 2f1cb61d01 All: Add C++ header guards 2016-12-26 21:01:55 -08:00
Jeffrey Pfau daaa2fa523 GB SIO: Support faster transfer speeds 2016-12-26 17:20:51 -08:00
Jeffrey Pfau c662b59e99 GB: Allow player 2 to act as shift clock 2016-12-26 17:13:53 -08:00
Jeffrey Pfau 269b18d8aa GB SIO: Some fixes 2016-12-26 16:46:51 -08:00
Jeffrey Pfau ceea51b55e GB: First pass at lockstep multiplayer 2016-12-25 20:39:11 -08:00
Jeffrey Pfau bd7b394e49 All: Unfortunate evils committed in the name of pycparser 2016-12-25 15:22:40 -08:00
Jeffrey Pfau 49c8ad1b02 All: Remove out-of-date function declarations 2016-12-25 14:55:02 -08:00
Jeffrey Pfau b515214fbe GB Audio: Reoptimize channel 4 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 0bf0975a5d GB: Restore savestates 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 9aa6d8fe3c GBA: Restore savestates 2016-12-25 10:56:49 -08:00
Jeffrey Pfau ad85acab75 Core: Implement deterministic event ordering 2016-12-25 10:56:49 -08:00
Jeffrey Pfau 86571c8496 GB: Convert EI to mTiming 2016-12-25 10:56:48 -08:00
Jeffrey Pfau e429d726dc GB Memory: Fix HDMAs 2016-12-25 10:56:48 -08:00
Jeffrey Pfau ed3a3b2fab Core: A few micro-optimizations 2016-12-25 10:56:48 -08:00
Jeffrey Pfau bb1c47c7e8 GB Audio: Convert audio to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau 74bb02065d GB, GBA: Properly handle late cycles this time 2016-12-25 10:56:47 -08:00
Jeffrey Pfau 4680a767c6 Core: Manage next event internally to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau a506f6cd9d GBA: Convert timers to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau e423cd45e5 Core: Scheduling should be relative to current cycles 2016-12-25 10:56:47 -08:00
Jeffrey Pfau bf9be29ad5 GB Video: Convert to mTiming 2016-12-25 10:56:47 -08:00
Jeffrey Pfau 6243b7fd3b GB: Convert SIO events to mTiming 2016-12-25 10:07:54 -08:00
Jeffrey Pfau e2357f0b70 GB: Convert memory events to mTiming 2016-12-25 10:07:54 -08:00
Jeffrey Pfau d831de205f Core, GB: Start new timing interface 2016-12-25 10:07:54 -08:00
Jeffrey Pfau c662d779a6 GB Audio: Fix performance regression 2016-12-25 10:03:28 -08:00
Jeffrey Pfau 85285a68e5 GB Memory: Reset ROM bank when loading a ROM 2016-12-24 21:22:29 -08:00
Jeffrey Pfau e32c0673da GB Audio: Reset envelope timer when reseting sound channel (fixes #287) 2016-12-24 03:41:39 -08:00
Jeffrey Pfau eaec17488e GB Video: Hblank IRQs should mask LYC=LY IRQs (fixes #466) 2016-12-23 17:13:10 -08:00
Jeffrey Pfau 2bd8dd2fa2 GB Memory: Fix HDMA5 value after DMA completes 2016-12-23 16:40:50 -08:00
Jeffrey Pfau 55505f79a9 GB Video: Initialize LCDC in renderer 2016-12-22 18:55:46 -08:00
Jeffrey Pfau 974c41e8cf GB Audio: Initialize wave RAM to GBC values 2016-12-22 15:38:34 -08:00
Jeffrey Pfau 8ac6f83bc5 GB Audio: Refactor and improve audio emulation 2016-12-22 14:33:50 -08:00
Jeffrey Pfau 053598fa7f GB Audio: Simplify envelope code 2016-12-21 18:44:08 -08:00
Jeffrey Pfau b5c62da070 GB: Properly initialize sramRealVf variable 2016-12-20 18:05:32 -08:00
Jeffrey Pfau d7d48e605b GB Audio: Fix serialization of channel 3 and NR52 properties 2016-12-19 18:56:24 -08:00
Jeffrey Pfau bf2aa98338 GB: Fix crash when masking savedata 2016-12-19 18:48:05 -08:00
Jeffrey Pfau d68a21fc26 GB Memory: Fix starting HDMAs during mode 0 2016-11-03 13:26:33 -07:00
Jeffrey Pfau e66061ed9e GB: Fix audio not being deinitialized 2016-10-28 17:48:29 -07:00
Jeffrey Pfau 5b80b8e4c7 Debugger: Make building with debugging aspects optional 2016-10-26 23:28:25 -07:00
Jeffrey Pfau a0d223eef7 Debugger: Modularize CLI debugger 2016-10-25 21:12:35 -07:00
Jeffrey Pfau 474f1c6e9c GB Memory: Fix patching bank 0 2016-10-24 11:49:06 -07:00