Vicki Pfau
f3663c86ad
GB Memory: Fix handling of invalid banks in View/Patch8 ( fixes #3482 )
...
The second half WRAM is banked on CGB, so bank 0 is only ever the first half.
If we query bank 0 for the second half, force it to bank 1. Further, VRAM bank
1 only exists on CGB, so force it to bank 0 on DMG.
2025-05-04 00:49:17 -07:00
Vicki Pfau
5b059486e5
GB Memory: Fix misuse of 0 instead of NULL
2025-05-04 00:39:34 -07:00
Vicki Pfau
7607a5bea9
GB MBC: Add Sintax support
2025-02-12 03:52:03 -08:00
Vicki Pfau
b8c890e1bc
Debugger: Plumb access source information through to access logger
2025-01-14 03:30:28 -08:00
Vicki Pfau
eaf45b9ab8
GB, GBA: Clean up some corner cases with ROM fd closing
2024-10-08 04:34:30 -07:00
Vicki Pfau
5bf048e380
GB Serialize: Add missing Pocket Cam state to savestates
2023-04-13 02:56:12 -07:00
Vicki Pfau
064d6ce183
GB: Fix potential double-free of non-pristine ROM memory
2023-03-01 20:11:26 -08:00
Vicki Pfau
622a6e9e2d
GB Memory: Fix potential crash when directly accessing invalid SRAM
2023-03-01 16:13:35 -08:00
Vicki Pfau
4f70b313fc
GB Memory: Actually, HDMAs should start when LCD is off ( fixes #2662 )
2022-12-08 01:20:51 -08:00
Vicki Pfau
ad2a7a748a
GB MBC: Add GGB-81 support
2022-10-17 01:31:04 -07:00
Vicki Pfau
e370f64801
GB MBC: Add NT (old 2) support
2022-10-15 23:41:51 -07:00
Vicki Pfau
1f36728244
GB Serialize: Add missing savestate support for MBC6 and NT (newer)
2022-10-15 04:42:10 -07:00
Vicki Pfau
0bd4ad034e
GB MBC: Add NT (old 1) support
2022-10-15 04:13:37 -07:00
Vicki Pfau
e23d04afc5
GB Memory: Fix bounds of TAMA5 registers in savestates
2022-10-06 03:24:06 -07:00
Vicki Pfau
c305c377db
GB MBC: Finish TAMA6 timer (non-alarm) emulation
2022-08-31 00:12:33 -07:00
Vicki Pfau
bac42c9027
GB MBC: Partial TAMA5 RTC
2022-08-28 03:53:51 -07:00
Vicki Pfau
0676769b68
GB MBC: Sachen MMC2 support
2022-02-08 18:36:12 -08:00
Vicki Pfau
a5976e6c34
GB MBC: Sachen MMC1 support
2022-02-07 22:20:46 -08:00
Vicki Pfau
d33471e117
GB MBC: Add NT (new) support ( closes #2435 )
2022-02-06 21:44:55 -08:00
Vicki Pfau
c829cd2e70
GB MBC: Improved support for HuC-3 mapper
2022-02-04 02:32:07 -08:00
Vicki Pfau
1d8141e1fd
GB Serialize: Fix loading MBC1 states that affect bank 0 ( fixes #2402 )
2022-01-22 18:12:58 -08:00
Vicki Pfau
b127178377
GB: More selective savegame dirt, unify logic
2022-01-20 22:30:04 -08:00
Vicki Pfau
78d3a1f17e
GB Memory: Add cursory cartridge open bus emulation ( fixes #2032 )
2021-06-23 20:34:11 -07:00
Vicki Pfau
003e181add
GB: Clean up cartridge removal codepath ( fixes #398 )
2021-02-24 20:18:13 -08:00
Vicki Pfau
bda4316839
GB: Redo double speed emulation ( closes #1515 )
2021-01-02 22:20:54 -08:00
Vicki Pfau
ac8d1e2bf6
GB I/O: Finally rename registers to have a prefix
2020-10-21 21:03:52 -07:00
Vicki Pfau
bf16c7b6bf
GB MBC: Add Hitek and BBD mappers
2020-08-16 16:27:11 -07:00
Vicki Pfau
a1e43c91a1
GB Serialize: Fix some deserialization bugs
2020-08-10 17:24:50 -07:00
Vicki Pfau
cdf9105f56
GB MBC: Support for unlicensed Pokemon Jade/Diamond Game Boy mapper
2020-07-07 18:14:33 -07:00
Vicki Pfau
91dd493f95
GB Memory: Fix OAM DMA from top 8 kB
2020-06-16 23:06:32 -07:00
Vicki Pfau
96f1838faa
GB MBC: Fix MBC1 mode changing behavior
2020-06-16 20:48:08 -07:00
Vicki Pfau
51a122f20d
SM83: Rename LR35902 to SM83
2020-01-01 11:35:00 -08:00
Vicki Pfau
d3ec40b392
GB Memory: Support manual SRAM editing ( fixes #1580 )
2019-11-30 11:38:51 -08:00
Vicki Pfau
a44a8f668f
GB: Add yanking
2019-09-07 18:32:37 -07:00
Vicki Pfau
773e0d26ff
GB Memory: Better emulate 0xFEA0 region on DMG, MGB and AGB
2019-07-28 09:51:16 -07:00
Vicki Pfau
0332db8961
GB Memory: Support running from blocked memory
2018-12-05 19:48:40 -08: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
575adcaf4c
GB MBC: Add MMM01
2018-07-28 01:04:36 -07:00
Vicki Pfau
3f05b12bc1
GB Memory: Fix HDMAs running when screen is off
2018-06-25 15:17:06 -07:00
Vicki Pfau
e78333611d
GB: Fix VRAM/palette locking ( fixes #1109 )
2018-06-24 16:11:37 -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
fac10eae96
GB Memory: Fix OAM DMA blocking regions ( fixes #1013 )
2018-03-21 09:24:54 -07:00
Vicki Pfau
3723ebea20
GB MBC: Fix MBC2 saves ( fixes #954 )
2018-01-08 18:24:29 -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
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
ec1fc632b2
GB MBC: MBC6 skeleton
2017-08-12 14:17:43 -07:00
Vicki Pfau
cd7f7f72e1
GB Memory: Prevent accessing empty SRAM ( fixes #831 )
2017-07-29 15:31:44 -07:00