Commit graph

359 commits

Author SHA1 Message Date
Sour
419deb7720 Debugger: Fixed issues with SPC disassembly/trace logger 2019-04-13 16:53:18 -04:00
Sour
7815e3d232 Cart: Fixed infinite loop when trying to load some roms that were not a multiple of 4kb in size 2019-04-12 22:25:59 -04:00
Sour
adad1055b8 Minor fix for previous delete refactoring commit 2019-04-12 19:06:38 -04:00
Sour
9a60878751 Remove unnecessary checks before deleting a pointer 2019-04-12 19:03:54 -04:00
Sour
dbafe258b2 Debugger: Fixed deadlocks when loading/saving a save state while execution is stopped by the debugger 2019-04-12 18:33:52 -04:00
Sour
b94212ec63 Linux: Fixed compilation errors/warnings 2019-04-12 17:49:58 -04:00
Sour
8dee056dda DMA: Improved DMA/HDMA timing
Wait 1 cpu cycle before starting then sync to the next multiple of 8 and sync back to a multiple of a CPU cycle before stopping
2019-04-11 22:34:28 -04:00
Sour
7bb0910607 HDMA: Set DoTransfer flag to true for all 8 HDMA channels during init if at least 1 HDMA channel is active (Fixed "Ladida_lol" test) 2019-04-11 20:08:19 -04:00
Sour
9d90fb9e52 PPU: Fixed issue with rendering when register write was on cycle 278 (caused a flickering scanline in Wild Guns) 2019-04-11 19:39:40 -04:00
Sour
bc706a0fda PPU: Color window must be applied regardless of whether or not color math is enabled 2019-04-11 18:34:58 -04:00
Sour
87f0528f2e Debugger: Display the real HClock value in the debugger window (instead of calculating it) 2019-04-10 22:46:26 -04:00
Sour
3715e844c0 PPU: Skip frames while fast forwarding to improve maximum speed (no impact on emulation accuracy) 2019-04-10 22:32:28 -04:00
Sour
e8a4168c82 PPU: Improved timings (removed 341th dot, fixed issue where V+H IRQ was never triggered at scanline 240, dot 0 2019-04-10 21:38:10 -04:00
Sour
1cd9acf9e6 Registers: Minor open bus improvements 2019-04-10 20:45:59 -04:00
Sour
c50a8f1697 Added mappings for some specific carts (BSX cartridges) 2019-04-10 18:45:49 -04:00
Sour
3205a6bcc2 PPU: Fixed color math regression (fixes SMW) 2019-04-10 16:23:02 -04:00
Sour
bd2b9a1132 PPU: Fixed IRQs to trigger whenever the signal transitions from low to high (+ some refactoring) 2019-04-10 16:04:55 -04:00
Sour
6012e3f840 PPU: Fixed draw logic when turning hires modes on/off during a scanline 2019-04-08 15:15:13 -04:00
Sour
08bb79f8cd Cart: Fixed rom header being copied from the wrong address when rom has copier header 2019-04-08 11:16:47 -04:00
Sour
6582dfe0af Debugger: Trace Logger - Fixed infinite loop when opening up the trace logger 2019-04-08 11:01:32 -04:00
Sour
2ac5dc7b9e PPU: $4200 writes should immediately trigger an IRQ on the current scanline if horizontal IRQs are disabled (fixes test_irq4200) 2019-04-08 10:17:14 -04:00
Sour
41af179c61 PPU: Even/Odd flag should change at the end of vblank, not at the start 2019-04-08 10:16:12 -04:00
Sour
b677bba57b PPU: Apply color window clipping to all pixels (?) 2019-04-07 23:19:33 -04:00
Sour
3595614df5 PPU: Moved sprite processing to cycle 285 (fixes Mega Lo Mania opening) 2019-04-07 22:41:40 -04:00
Sour
5f3e9e25aa Debugger: Fixed event viewer being offset by 1 scanline 2019-04-07 22:35:19 -04:00
Sour
d319f37963 PPU: Enabling NMI during vblank should trigger an NMI 2019-04-07 20:18:02 -04:00
Sour
7619ff83c9 Debugger: Fixed scrolling issue when updating code viewer without updating active address 2019-04-07 18:16:52 -04:00
Sour
94b79c6527 Debugger: SPC - Fixed "Break In" using CPU cycles in the SPC debugger 2019-04-07 18:05:14 -04:00
Sour
ad4cef9afa Debugger: Display address/value in disassembly window 2019-04-07 17:57:30 -04:00
Sour
d7c487aadc Debugger: Trace Logger - Allow logging either SPC or CPU, or both 2019-04-07 16:10:23 -04:00
Sour
f0d4e6deeb Debugger: Seperate watch entries for CPU vs SPC 2019-04-07 15:03:41 -04:00
Sour
35476426c0 Debugger: SPC watch and conditional breakpoints 2019-04-07 14:38:22 -04:00
Sour
d89f4ba0cb Debugger: SPC debugger/breakpoints/call stack 2019-04-07 12:25:14 -04:00
Sour
f8392d2f65 Debugger: SPC trace logging 2019-04-06 17:38:14 -04:00
Sour
82a0722167 Debugger: Refactor disassembly code (wip) 2019-04-06 09:15:19 -04:00
Sour
407f72aafc Debugger: Prevent debugger tools from affecting the dma nmi/irq delay flag 2019-04-06 09:14:49 -04:00
Sour
b1d1a3f466 Debugger: Greatly reduced memory usage when debugger tools are opened 2019-04-05 00:02:43 -04:00
Sour
02fa095a91 Debugger: Fixed crash when disassembling while CPU is waiting on an interrupt 2019-04-04 23:50:39 -04:00
Sour
1fdfe1dcf7 Debugger: Tile viewer - Update viewer when options change while emulation is paused 2019-04-04 23:01:55 -04:00
Sour
55e0df7289 PPU: Reset OAM address when writing to $2100 on the first scanline of vblank (during forced blank only) 2019-04-04 21:04:03 -04:00
Sour
a36708fe7b Save states: Fixed serializer class to avoid breaking save states every time a new value need to be added 2019-04-04 20:58:20 -04:00
Sour
42379b26d1 PPU: Approximate OAM write behavior during HBlank (fixes Uniracers) 2019-04-04 20:46:29 -04:00
Sour
ec306ce406 IRQ: Enabling vertical irqs on the scanline that matches the settings should trigger an IRQ right away 2019-04-04 17:50:23 -04:00
Sour
260e0f089d DMA: Implement NMI/IRQ handler delay after DMA/HDMA 2019-04-04 17:49:47 -04:00
Sour
8377e62a9f Cart: Fixed RAM mirroring when size is smaller than 4KB 2019-04-03 20:07:47 -04:00
Sour
08cdaffeb1 Cart: Added support for ExHiROM boards 2019-04-03 20:07:11 -04:00
Sour
9c46823522 PPU: Fixed visible sprites not being shown in some scenarios 2019-04-02 23:46:14 -04:00
Sour
60468d10e1 PPU: Apply color math to subpixels in hires modes 2019-04-02 23:44:00 -04:00
Sour
1e89404d67 PPU: Fixed 1 line being missing when overscan mode is off 2019-04-02 21:56:48 -04:00
Sour
bab17ae077 UI: Fixed "Show FPS" always being unchecked after starting the application 2019-04-02 20:47:24 -04:00