Commit graph

700 commits

Author SHA1 Message Date
Sour
523e143ba5 PPU: Fixed mosaic effect when enabling it mid-frame (i.e after scanline 0)
Fixes FF6 mosaic effect only working horizontally (all blocks were 1 pixel high) on some screens (e.g rescue sequence)
2020-01-11 20:55:42 -05:00
Sour
fac4b3c4e7 PPU: Fixed mosaic bug with high priority tiles
Refactored code to process both normal and high priority tiles on the same pass
Fixes FF6 mosaic bugs when battle starts inside caves
2020-01-11 17:55:24 -05:00
Sour
24beded73d NMI: Prevent NMI being skipped when $4210 is read during the first dot of the NMI scanline (fixes issues in Terranigma) 2020-01-06 19:01:27 -05:00
Sour
4602ae331f Debugger: Lua - Fixed draw commands not being permanent when frame count is set to 0 2020-01-05 15:31:46 -05:00
Sour
065a09c532 Debugger: Writes done via the debugger shouldn't increase the cycle counters, or trigger breakpoints
Also fixes deadlock when writing to cpu memory while the emulator is paused
2020-01-02 19:27:50 -05:00
Sour
5e900992d0 Video: Option to select exclusive fullscreen resolution 2019-12-28 10:44:13 -05:00
Sour
fde27d6115 Cart: Region code 0x12 is PAL
Fixes Tintin in Tibet loading up as NTSC
2019-12-28 09:18:40 -05:00
Sour
c30123ba9a Debugger: Lua - Fixed getState returning the wrong value for the ppu.scanline field 2019-12-27 18:12:19 -05:00
Sour
20a2bd7874 UI: Added shortcuts to select a specific save slot 2019-12-26 14:11:33 -05:00
Sour
857caa3e20 Input: Turn off hot plugging for directinput devices
Loading a game or opening input config will still check for new DInput controllers
2019-12-26 13:57:05 -05:00
Sour
bf76bb3579 Debugger: Fixed crash due to uninit variable after calling GetAbsoluteAddress on BW-RAM 2019-12-26 13:19:30 -05:00
Sour
5f2c502be9 Run ahead support (+ improved save/load state performance)
Note: Run ahead currently doesn't work well with netplay, movies and rewind
2019-12-26 12:03:38 -05:00
Sour
cdd5edba38 Fixed SRAM always being initialized to 0
+ Added an override for Super Keiba 2 to ensure it doesn't run with sram filled with 0s (which causes issues)
2019-12-22 16:18:57 -05:00
Sour
7df9cc8a20 Upgrade to VS2019 and C++17 2019-12-22 14:51:05 -05:00
Sour
76d5f2a5b3 CX4: Allow bigger cartridges (allows MMX3 Zero project to run) + added option to enable stricter board mapping rules (for homebrew dev/etc.) 2019-12-19 20:08:25 -05:00
Sour
0214a4e25f Added power on RAM state overrides for problematic games 2019-12-12 22:14:55 -05:00
Sour
b94ca9b728 Emulation: Added option to randomize power on state for the PPU (for homebrew/romhacking purposes) 2019-12-11 21:44:42 -05:00
Sour
0eb5264da3 Debugger: Event Viewer - Add filter options for PPU writes 2019-12-10 20:51:51 -05:00
Sour
a1853f15bc Debugger: Event Viewer - Add list view (+ misc event viewer bug fixes) 2019-12-10 19:13:30 -05:00
Sour
ac7c2e9953 DMA: Fixed regression when trying to DMA to B bus registers using A bus address
Fixes regression with Krusty
2019-12-10 17:51:35 -05:00
Sour
234c494c3e Debugger: SA1 - Fixed display for BWRAM 2019-12-08 13:05:59 -05:00
Sour
4a7e6df39b SA-1: Implemented bitmap mode for BWRAM
Fixes SMRPG's level up screen
2019-12-08 11:28:38 -05:00
Sour
890ae9b4a6 Debugger: Tile Viewer - Allow displaying more types of memory and UI improvements 2019-12-07 12:47:24 -05:00
Sour
c433b3fe33 Debugger: Fixed CPU read/write breakpoints breaking on PPU memory read/writes (e.g vram, cgram, oam) 2019-12-05 23:36:00 -05:00
Sour
a74f2e30d5 IRQ: Refactor/simplify PPU IRQ logic 2019-12-05 22:17:26 -05:00
Sour
73c1a90833 NMI/IRQ: Fixes and refactoring to attempt to better represent the hardware
Fixes Power Rangers - The Fighting Edition having partially corrupted graphics during fights
2019-12-05 22:13:39 -05:00
Sour
7f805b9a62 Cheats: Fixed toggle cheats shortcut 2019-12-04 15:52:55 -05:00
Sour
6e70ab88de Cheats: Fixed performance issue with WRAM cheats 2019-12-04 15:51:40 -05:00
Sour
15fa85ef9a SA1: Fixed char conversion IRQ being sent to the wrong CPU 2019-11-25 21:47:53 -05:00
Sour
67b286a16f SA1: Improved timings (bus conflicts, etc.)
-Fixed I-RAM access speed while main CPU is DMAing to I-RAM
-Fixed missing extra cycle on BRL
-Fixed idle SA-1 cycles (incorrectly) taking more than 1 cycle during bus conflicts
-Fixed branch instructions to apply cycle penalties based on the destination address' type (rather than the source address)
2019-11-25 21:01:21 -05:00
Sour
96e7edb1f5 Core: Make pause/fast forward/save state/etc more responsive when running emulation at low speeds 2019-11-13 20:52:26 -05:00
Sour
3d079f66d7 IRQ: Fixed missed IRQ when changing the V timer value between 2 irq checks
Fixes flashing in Shin Nihon Pro Wrestling Kounin - '95 Tokyo Dome Battle 7
2019-11-10 19:34:29 -05:00
Sour
f91e206636 PPU: Fixed display issue with interlaced games when interlaced flag is turned on/off midscreen 2019-11-02 22:55:56 -04:00
Sour
d2c8a3de81 Cart: Limit SRAM size to 256kb (same as bsnes) 2019-11-02 22:39:49 -04:00
Sour
8327ec501d SPC: Reset the values read by the main CPU when resetting the SPC 2019-11-02 21:00:03 -04:00
Sour
4a6ab790cf MSU1: Fixed audio being muted when sample rate was 48kHz 2019-11-02 11:20:29 -04:00
Sour
026be87dfb Video: Fixed minor color rounding errors when all parameters are set to their default (hue/contrast/etc) 2019-11-01 22:28:28 -04:00
Sour
e742b356a2 Libretro: Added missing files to makefile 2019-11-01 22:11:28 -04:00
Sour
6b85b6a579 MSU1 support 2019-11-01 21:15:11 -04:00
Sour
305ec6e446 Input: Ensure input is always processed at the same moment on each frame (first cycle of NMI scanline)
Before this, DMA transfers could delay input processing for a long time (potentially multiple frames)
2019-10-30 20:42:19 -04:00
Sour
cffec80055 Video: Prevent 2 frames from being processes at the same time (caused crashes) when switching between interlaced and non-interlaced modes 2019-10-29 17:40:47 -04:00
Sour
b4d28cfbdc Version Update: 0.3.0 2019-10-26 19:54:19 -04:00
Sour
bd6295d931 NEC DSP: Try to load the firmware from the rom file, if it exists 2019-10-26 17:47:57 -04:00
Sour
f9b7dc9281 PPU: Fixed off-by-1 error that could cause glitches on the last pixel of a scanline 2019-10-26 15:05:34 -04:00
Sour
0f62692d04 PPU: Fixed out-of-bounds memory read and write 2019-10-26 13:15:42 -04:00
Sour
4bcdd8ace1 clang: Fixed compilation warnings 2019-10-24 23:33:29 -04:00
Sour
e4eb6f997e Netplay: Rewrite/simplify serialization code 2019-10-24 21:18:17 -04:00
Sour
0e2a17e77d Cheats: Mirror PAR cheats for the first 2k of WRAM 2019-10-23 19:49:42 -04:00
Sour
afa55938ec Save States: Make states a bit more robust to changes and compress their contents (breaks save state compatibility) 2019-10-23 18:19:49 -04:00
Sour
c8f6822ed7 SDD1: Added decompressor state to save states 2019-10-22 20:28:44 -04:00