Commit graph

3354 commits

Author SHA1 Message Date
Sour
9af55f9fc0 Debugger: Fixed some potential memory leaks in debug tools UI 2024-11-07 18:34:41 +09:00
Sour
dbebbf66e5 GBA: Improved prefetch behavior when enabling/disabling it
Fixes the AGBEEG cartridge tests
2024-11-06 21:21:55 +09:00
Sour
7fdb6a0e85 GBA: Improved cartridge prefetch timing accuracy
Passes most of alyosha's prefetch tests
2024-11-06 19:12:33 +09:00
Sour
5df9aaea3e SMS: M1/M3 flags should not have any impact on screen height unless M2 is also set 2024-11-05 18:20:56 +09:00
Sour
ea917e77c2 SMS: Fixed crackling in audio in PAL mode 2024-11-05 18:19:54 +09:00
Sour
a72b8bff6e SMS: Fixed region detection showing the region based on the previously loaded game's filename when loading a new game 2024-11-05 18:18:33 +09:00
Sour
0fbb19d52c SMS: Fixed region menu updating the Game Gear options instead of the SMS options 2024-11-05 18:17:15 +09:00
Sour
26b35426c1 Debugger: NES - Fixed tile/attribute write highlights not working 2024-11-01 20:32:30 +09:00
Sour
99bd94ff57 GBA: Fixed hblank bit timing 2024-11-01 20:31:56 +09:00
Sour
f710ad8529 Debugger: Clear event viewer data when game is reset to avoid issues/crashes
Reset caused a crash on NES when ntsc borders were displayed because the current frame's data contained events from the pre-reset state
2024-10-31 21:13:07 +09:00
Sour
0fc4610b82 Debugger: Fixed UI allowing defining forbid breakpoints on memory types that the CPU can't execute 2024-10-30 22:02:52 +09:00
Sour
ecd012c2fe Debugger: Fixed issue that caused forbid breakpoints to prevent "run 1 frame/scanline/etc" from working properly in some scenarios 2024-10-30 22:02:40 +09:00
Sour
f675ced226 NES: HD Packs - Removed unused feature allowing loading hd packs from zip files
This caused games to load/reload slowly if zip files existed in the HdPacks folder
2024-10-30 17:16:58 +09:00
Sour
6f46da3aa1 NES: MMC5 - Fixed crash when loading MMC5 game with save ram
Caused by the recent changes done when adding support for the Rainbow mapper
2024-10-30 17:14:13 +09:00
Sour
cf2d304514 Fixed crash in "test runner" mode caused by console video config overrides 2024-10-29 21:08:21 +09:00
Sour
e0ccc2092c GBA: Merged bug fix in new multiply logic 2024-10-26 16:45:52 +09:00
Sour
98dc779ee8 SNES: Fixed ExHiROM memory map (save ram should only be available at 80-BF:6000-7FFF) 2024-10-26 16:26:21 +09:00
Sour
c25d295e76 Linux: Fixed GCC/clang compilation error 2024-10-25 07:34:30 +09:00
Sour
9465efcff2 GBA: Implement accurate carry behavior for multiplications
This uses zaydlang's multiplication algorithm: https://github.com/zaydlang/multiplication-algorithm/
2024-10-24 21:57:52 +09:00
Sour
f2e071d435 Movies: Fixed last emulation setting stored in movie file not being applied correctly 2024-10-23 20:01:33 +09:00
Sour
0f08c71c5a GB: Improved header detection for MMM01 games to avoid misdetecting other roms 2024-10-23 17:29:10 +09:00
Sour
af78010bc2 GB: Fixed white pixels appearing on screen in CGB mode when writing to $FF47 2024-10-23 16:27:21 +09:00
Sour
a394d05c97 NES: Fixed issue with new sprite eval bug emulation option that caused an incorrect fetch pattern when sprite overflow occurred
This could cause OAM decay to be detected even though it should never be possible for OAM to decay while rendering is enabled (sprite eval will refresh all OAM rows on each scanline)
2024-10-20 12:48:27 +09:00
Sour
c9adff355f PCE: Tweak trigger for RCR counter increments
The RCR counter doesn't appear to increment unless the HDW mode (e.g the visible scanline) actually starts. On the other hand, the vertical mode counter will get clocked even if the VDC doesn't hit HDW (trigger seems to be earlier, currently set to be the same timing as the Y scroll latch). The RCR IRQ could occur later than on hardware because of this
2024-10-19 22:34:39 +09:00
Sour
860b7358d9 SNES: Fixed broken date/time for Satellaview 2024-10-19 16:32:10 +09:00
Sour
7107579a9c NES: Rainbow - Implemented audio volume register 2024-10-19 13:51:47 +09:00
Sour
f90465c7cd NES: Count partially-copied sprites towards the sprite count for the next row 2024-10-19 13:31:25 +09:00
Sour
ce4b3b8a56 NES: Added option to emulate sprite eval bug that causes unexpected pixels to be shown at X=255
This bug exists only on older PPU revisions (2C02B and earlier)
2024-10-19 10:15:35 +09:00
Sour
b771ce4a41 Debugger: Memory Viewer - Improve behavior when pasting multi-line text in search box 2024-10-17 19:29:13 +09:00
Sour
a7cb9858f6 Debugger: Register Viewer - Fixed incorrect values for some WS/SMS entries 2024-10-17 18:23:56 +09:00
Sour
7ab23e4c61 Debugger: Fixed crash when attempting to rewind immediately after loading a rom, if the debugger is opened and breaks before the end of the first frame 2024-10-16 17:13:53 +09:00
Sour
582c753384 PCE: Fixed incorrect overscan values for a single frame when game swaps between multi-resolution and single-resolution screens 2024-10-16 17:08:39 +09:00
Sour
046597a36f Debugger: SNES - Fixed incorrect SA-1 NMI/IRQ vector values in register viewer 2024-10-16 16:47:32 +09:00
Sour
0b1fe08bba SNES: Fixed PPU $213F reads to always reset the h/v counter low/high toggles 2024-10-15 20:18:56 +09:00
Sour
682ac04a3e Audio: Fixed crash in resampler when input contains no samples and no resampling needs to be done 2024-10-15 17:26:12 +09:00
Sour
6ea096b123 NES: Fixed EPSM issues when using "long writes"
The OUT1 pin was using bit 1 of the data bus, which is incorrect (should match the last value writting to 4016)
2024-10-15 14:09:20 +09:00
Sour
b9d0c0be89 Debugger: NES - Fixed typo in register viewer 2024-10-15 11:06:19 +09:00
Sour
ef302de461 Debugger: Fixed forbid breakpoints not working properly with "break on" options 2024-10-15 09:29:42 +09:00
Sour
3dee924218 NES: Emulate another sprite evaluation quirk
Tweaks the H/L address bits increment/reset logic during evaluation to better match how hardware behaves (based on test rom). Also changes sprite 0 hits to consider sprite 0 to be the first sprite that sprite eval loads (based on oamaddr), even if the sprite is not actually the first entry in OAM
2024-10-11 18:01:20 +09:00
Sour
7110fe31c4 GBA: Added option for RTC 2024-10-10 18:34:59 +09:00
Sour
7bfa399ded Debugger: Script Window - Fixed crash caused by JSON errors in documentation 2024-10-10 17:54:53 +09:00
Sour
2bb62853ae GBA: Fixed RTC issues when writing to the status register 2024-10-10 17:54:07 +09:00
Sour
5b0173f43c Debugger: Tile viewer - Limit copied data to what is required to display the current view
This fixes performance issues on GBA, for example, when trying to display the "CPU Memory" memory type
2024-10-10 17:51:39 +09:00
Sour
8557a7adc8 Debugger: GBA - Fixed tile editor issues when editing tiles in vram if bit 15 of the address is set
Mask was invalid because vram is not a power of 2
2024-10-09 21:46:24 +09:00
Sour
c366798f91 NES: Rainbow - Fixed audio volume when read via $4011 2024-10-08 22:32:41 +09:00
Sour
d751502a58 NES: Added Rainbow support (mapper 682) 2024-10-08 21:37:44 +09:00
Sour
8e6846eaf6 Debugger: GBA - Fixed incorrect ROM values for addresses over 16mb 2024-10-07 17:34:28 +09:00
Sour
c5b260e066 Debugger: Fixed keyboard focus being given to watch list after reloading a rom
This could cause controller keys to get stuck in their pressed state, among other things
2024-10-04 23:08:02 +09:00
Sour
1affcd14ce NES: Fixed EPSM sound quality issues
The 500kHz to ~48kHz downsampling was causing problems
2024-10-02 17:14:16 +09:00
Sour
4f423a190b SMS: Implement vram address mask behavior for mode 4 on SMS1 2024-10-01 23:29:13 +09:00