Commit graph

204 commits

Author SHA1 Message Date
NovaSquirrel
0f0abe9788 Update Ppu.cpp 2020-10-11 14:33:50 -04:00
NovaSquirrel
f08c64e711 Fix/complete Cx4, remove PPU changes 2020-10-11 14:26:01 -04:00
Vladimir Kononovich
f514335bde Registers change APIs. 2020-10-11 13:57:01 +03:00
Sour
98fe9a85d6 PPU: Fixed mosaic display when reading/writing to PPU registers in the middle of a scanline 2020-07-05 16:21:26 -04:00
Sour
a15b22a05a PPU: Fixed color math logic for high res mode when processed in the middle of a scanline
+ Minor refactoring for performance
2020-07-02 10:42:42 -04:00
Sour
bdce582677 PPU: Fixed sprite display when sprite interlace mode is turned on 2020-05-26 18:58:13 -04:00
Sour
2a6504c2d4 PPU: Fixed mirroring behavior when vram address is over $7FFF
Prevents graphical glitches in Lemmings 2 (which appeared because the game uses addresses over $7FFF, which loaded random data outside the vram buffer)
2020-05-26 18:10:19 -04:00
Sour
5812fb3667 PPU: Fixed crash when switching overscan mid-screen
Caused by yesterday's fix for Chrono Trigger - for now, just assume overscan flag is only processed once at the top of the screen
2020-03-01 18:36:52 -05:00
Sour
dc6d295b1a PPU: Fixed glitches when games turn overscan + interlace on and back off mid-frame
(Chrono Trigger does this for a couple of frames when a battle starts)
2020-02-29 19:36:17 -05:00
Sour
5101ad4d05 Libretro: Enable frame skipping during fast forward 2020-02-07 18:23:23 -05:00
Sour
6022b4352e PPU: Fixed graphical glitch shown on screen when switching to interlaced mode 2020-01-26 10:34:07 -05:00
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
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
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
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
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
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
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
37121166eb PPU: Fixed flickering in interlace mode (regression) 2019-10-19 21:27:29 -04:00
Sour
c89bc248c3 PPU: Fixed recent regression with the "cycle" calculation 2019-10-19 21:26:52 -04:00
Sour
a3829c58fa PPU: Fixed regression that caused flickering when fast forwarding 2019-10-19 16:12:52 -04:00
Sour
df79dc9cc1 SPC: Added support for SPC file playback 2019-10-19 15:38:34 -04:00
Sour
a4f4b526ef Debugger: Event Viewer - Fixed PPU display when running line by line 2019-10-18 19:34:55 -04:00
Sour
207282ed1e Added support for automated testing 2019-10-16 20:22:45 -04:00
Sour
7ae6605e77 Debugger: Performance improvements + refactoring
-Reduce breakpoint check overhead
-Only run SPC/DSP when needed
-Only build disassembly cache when needed
2019-10-11 16:07:30 -04:00
Sour
af175616cd Debugger: Added Register Viewer tool 2019-10-10 23:54:38 -04:00
Sour
60a8abcbd5 Debugger: Fixed crash when using event viewer in PAL mode 2019-10-08 21:04:32 -04:00
Sour
3df7a20976 PPU: Initialize mosaic counter at the start of scanline 1, instead of at the end of scanline 0 (Fixes Jimmy Connars Pro Tour Tennis pause animation) 2019-10-07 22:38:19 -04:00
Sour
da5e77d6e3 Input: Added Super Scope support 2019-08-09 20:47:12 -04:00
Sour
a387d5db4c PPU: Fixed regression where sprites at X=-256 were shown in some scenarios 2019-08-06 22:22:04 -04:00
Sour
a861a0af7c PPU: Fixed issues with sprites at position X=-256 2019-08-06 18:08:33 -04:00
Sour
15a29ec2bf PPU: Fixed sprite tiles outside the visible screen being loaded and counting as the maximum number of sprite tiles 2019-08-06 16:23:08 -04:00
Sour
dffce96ed8 PPU: Don't change the OAM eval index when writing to OAMADDR (this causes glitches in Star Ocean) 2019-07-31 21:22:41 -04:00
Sour
0e7dd11cf2 PPU: Switch to interlaced mode even outside mode 5/6 when flag is enabled 2019-07-25 22:52:34 -04:00
Sour
fe470dd87a SA-1 support (still missing a few rarely used features) 2019-07-25 22:22:09 -04:00
Sour
49df8ab7d0 Libretro: Added overclocking options 2019-07-19 19:59:09 -04:00
Sour
c880c55d53 Added support for overclocking (by adding extra scanlines before/after NMI) 2019-07-19 19:39:38 -04:00
Sour
3992486fa1 Video: Added an option to disable frame skipping 2019-07-18 19:33:37 -04:00
Sour
cd5792ebf5 Debugger: Tilemap Viewer - Fixed scroll overlay size (large tiles vs large screen bug) 2019-07-16 21:21:10 -04:00
Sour
c9405d7ba3 DSP: Added support for DSP-1/2/3/4 games (LLE - requires bios file) 2019-07-14 21:45:12 -04:00
Sour
521df256fa PPU: Added mosaic support for mode 7 2019-07-13 15:40:00 -04:00
Sour
0341dd12b2 PPU: Fixed mode7 regressions (horizontal mirroring and sprite priority) 2019-07-13 14:16:50 -04:00
Sour
95d0c5a910 Fixed some uninitialized variables
+ Fixed rare crash when calling Stop()
2019-07-13 13:43:56 -04:00
Sour
bc7550fc43 Rewind: Fixed issues with frame skipping 2019-07-13 08:55:13 -04:00
Sour
c8cba7a0b8 PPU: Fixed mosaic in high resolution modes 2019-07-13 08:25:28 -04:00
Sour
27dbf9655d PPU: Fixed sprite rendering regression 2019-07-13 01:07:54 -04:00
Sour
1f18728acb Fixed console components leaking when power cycling 2019-07-13 00:02:51 -04:00
Sour
ae20428bdd PPU: Minor mode 7 optimization 2019-07-13 00:02:36 -04:00