Commit graph

2040 commits

Author SHA1 Message Date
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
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
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
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
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
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
Sour
7ed5fd5562 NES: Added EPSM support 2024-10-01 20:57:06 +09:00
Sour
029fae24ef Debugger: GBA - Fixed incorrect value for LDR/STR SP-relative offset in disassembly 2024-09-30 23:13:21 +09:00
Sour
64933699a8 NES: Reset newly added internal flags on console reset 2024-09-29 20:19:43 +09:00
Sour
31c545a680 NES: Fixed OAM DMA getting skipped when DMC DMA was aborted on the same cycle as OAM DMA was triggered 2024-09-29 11:42:43 +09:00
Sour
8b6d7fce60 NES: Added new accuracy options to save state data 2024-09-28 22:03:46 +09:00
Sour
3860e39615 NES: Halt cycle for an aborted DMA should not count as a read on input ports if the CPU is halted on a 4016/4017 read
The CPU will read 4016/4017 for 2 consecutive cycles, which the controllers will see a single read (except on the original famicom), so skip the dummy read to reproduce this behavior
2024-09-28 20:22:08 +09:00
Sour
efdf18dadb NES: DMAs interrupted during a write shouldn't start after the write 2024-09-28 20:15:26 +09:00
Sour
de20208abe NES: Added option to enable CPU test mode registers 2024-09-28 16:55:45 +09:00
Sour
ab8f9f60da NES: Implemented DMC glitch that causes an additional DMA to run fully or partially, depending the 4015 write's timing 2024-09-28 16:44:34 +09:00
Sour
0e8c544cf8 NES: Improve open bus implementation for register 4015 2024-09-28 16:43:42 +09:00
Sour
484b61e395 NES: Implemented DMA bug when disabling the DMC channel with a 4015 write 2024-09-28 09:48:35 +09:00
Sour
4c1579d8fd NES: Small performance improvements 2024-09-26 22:41:57 +09:00
Sour
6a16f729a3 NES: Improve CPU OUT pins emulation
OUT pins are only updated on the GET->PUT cycle transition
2024-09-26 21:19:10 +09:00
Sour
b627b25fc9 Game Gear: Allow Game Gear-specific video filter overrides 2024-09-25 22:14:19 +09:00
Sour
0838797295 Game Gear: Allow showing entire video output instead of the cropped version the GG screen displays 2024-09-25 21:50:01 +09:00
Sour
8c7152f140 Movies: Show message when movie can't be loaded because it was recorded for another console 2024-09-24 21:34:59 +09:00
Sour
dee97bf9bc Debugger: Added forbid breakpoints 2024-09-23 21:05:55 +09:00
Sour
6fcb3b6c05 NES: Decay ppu open bus values faster (3 frames instead of 30) 2024-09-21 16:16:32 +09:00
Sour
b6e9dcbc13 PCE: Improved X/Y scroll and CR latch timing
Also update the latched values when a register write occurs at the same time
This matches the results seen in the rcrtest (https://github.com/pce-devel/huc/tree/master/examples/asm/elmer/rom-bare-rcrtest) for all VDC clock speeds
2024-09-21 14:17:06 +09:00
Sour
2aa9cc5908 PCE: Fixed save ram size (2kb instead of 8kb)
+ only create .sav file if game actually writes to save ram
2024-09-20 21:53:36 +09:00
Sour
c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +09:00
Sour
aa1c20afe5 GBA: Fixed black screen regression in X-Men The Official Game
This was caused by changes done in the open bus implementation to pass the openbuster test, which broke this game
2024-09-15 23:21:59 +09:00
Sour
b95ad78e00 GBA: Fixed graphical glitches on right side of the screen in Fire Emblem The Sacred Stones
Changing X scroll breaks the rendering logic - keep a copy of it at the start of the scanline (not verified on hardware)
2024-09-15 20:43:50 +09:00
Sour
9f1be2683a NES: Fixed sprite evaluation emulation bug when oam address is misaligned
Test ROM shows that the lower bits of the OAM address are always reset to 0 when skipping to the next sprite
2024-09-14 10:23:47 +09:00
Sour
88da0b0c3f Debugger: Event Viewer - NES - Fixed incorrect NTSC borders in some scenarios 2024-09-13 15:45:27 +09:00
Sour
e79e655d3b Debugger: Event Viewer - Added missing address/value for some event types (marked breakpoints, etc.) 2024-09-12 17:11:56 +09:00
Sour
816e77e8a5 PCE: Fixed noise period when frequency register is set to 0x1F
Fixes noise issues in some games (Cyber Cross, Eternal City, Victory Run, etc.)
2024-09-05 17:03:51 +09:00
Sour
1670259ca1 GBA: Improved BIOS lock logic
Based on: https://web.archive.org/web/20240111232601/https://gist.github.com/merryhime/797c523724e2dc02ada86a1cfadea3ee
2024-08-26 21:01:36 +09:00
Sour
9f69e88b6c Debugger: Added undo for memory viewer/debugger code edits 2024-08-26 20:15:30 +09:00
Sour
d6b23ba396 Linux: Fixed incorrect SMS state in debugger/register viewer/etc 2024-08-26 09:53:57 +09:00
Sour
bd12aaabe4 GBA: Only suspend prefetch after/if DMA accesses ROM
Fixes the remaining failures in mGBA Suite's "Timing Tests"
2024-08-23 21:30:53 +09:00
Sour
5b992e35f8 PCE: Implement better MWR latch timing
Changing anything but CG Mode mid-screen should not be allowed (latched in vblank)
2024-08-19 10:54:57 +09:00
Sour
348af31d16 GBA: Fixed forced blank displaying a black screen (instead of white) 2024-08-14 17:13:55 +09:00
Sour
262ba4a919 GBA: Fixed log API issues 2024-08-13 21:28:30 +09:00
Sour
7f588df10e GBA: Fixed EEPROM save support 2024-08-13 21:22:25 +09:00
Sour
f3b75dbeee Netplay: Fixed a couple of crashes and the "select controller" menu
-A client disconnecting could cause the server to crash
-A server stopping, then starting again, could cause the client to crash when reconnecting to the server after getting disconnected by the server stopped
-The select controller menu was not getting updated and was always empty
2024-08-07 18:31:20 +09:00