Commit Graph

63 Commits

Author SHA1 Message Date
lacastri 2142282f69
daffy duck irq non-reschedule 2018-09-08 18:49:42 -05:00
OV2 d3e21d7463 Move identical VRAMReadBuffer updates to inline function 2018-08-25 21:24:13 +02:00
OV2 1d25cbfeca
Merge pull request #412 from Dwedit/snes9x-master-fix-submission
Move `VRAMReadBuffer` from `IPPU` to `PPU`, then add to savestate
2018-08-25 21:22:41 +02:00
Dwedit 91ce0cf02a Move `VRAMReadBuffer` from `IPPU` to `PPU`, then add to savestate, tagged as version 11. Fixes RunAhead in Battle Grand Prix. 2018-08-25 14:16:52 -05:00
OV2 a8ab8bc1ba Ensure CPU.MemSpeed is correct when CPU.FastROMSpeed changes 2018-08-25 19:51:42 +02:00
Brandon Wright e3216ec88e Don't allow IRQ to occur instantly when just writing $4200. 2018-08-14 17:33:03 -05:00
OV2 d2183af371 libretro: add fast snapshot support 2018-08-07 18:39:36 +02:00
Brandon Wright ada43c7992 Don't break double-height modes. 2018-08-06 17:32:23 -05:00
Brandon Wright 37f6259f06 Fix Chrono Trigger bug where screen jumps. 2018-08-06 12:54:38 -05:00
turhope 4ed8a22f47
ppu.windowleft fix
some games incorrectly show rogue vertical line on column 0
2018-07-30 13:34:07 -05:00
Brandon Wright 893069da5f Pass OAM tests now. 2018-07-02 17:41:52 -05:00
Brandon Wright 6f00d63116 Also allow interlacing in Mode 7. 2018-06-26 03:46:39 -05:00
Brandon Wright ff1925cc0a Disable interlace mode for bg modes not 5 or 6. 2018-06-25 18:02:10 -05:00
Brandon Wright 044ebbd057 Fix Umihara Kawase's brightness fluctuation. 2018-06-13 12:37:58 -05:00
Brandon Wright db1d524917 Don't do anything when write to $4200 is the same. 2018-06-05 11:58:38 -05:00
Brandon Wright 756f370021 Go back to allowing writes to 4200 and vtimerpos to trigger immediately. 2018-06-02 18:44:13 -05:00
OV2 55cf0c287f Edge case when setting vtimer only on same scanline 2018-06-02 23:24:18 +02:00
Brandon Wright ac65e94df4 Use OpenBus here like we used to. 2018-06-02 14:40:50 -05:00
Brandon Wright 7faed1fa2b Use OpenBus for these two. 2018-06-01 18:55:15 -05:00
Brandon Wright f70592df90 Don't use initial variable. 2018-06-01 15:05:58 -05:00
Brandon Wright 718f580342 This was wrong. 2018-06-01 14:19:59 -05:00
Brandon Wright 14c8b043ef Actually, I like the other fix better. We know the HDMA reads this value into the MDR as an intermediary, not that writing the address writes to OpenBus.
Revert "We definitely only know Speedy writes this address and it goes to open bus on hardware."

This reverts commit 6f5295225c.
2018-05-30 17:10:36 -05:00
Brandon Wright 6f5295225c We definitely only know Speedy writes this address and it goes to open bus on hardware. 2018-05-30 16:50:59 -05:00
Brandon Wright 53e76473ca Isolate Speedy Gonzales fix for now. 2018-05-30 16:40:21 -05:00
Brandon Wright 3063da79b8 Check for the short scanline on the timer scanline, not the current one. 2018-05-30 13:27:30 -05:00
OV2 6b871cd104 Use Timings.H_Max_Master when calculating cycles for next irq
(fixes #315)
2018-05-30 16:15:43 +02:00
Brandon Wright 78bc52cd8e Add some debugging info. Don't reset timer when reading $4211. 2018-05-28 18:24:11 -05:00
Brandon Wright 09c4e97c32 Don't schedule recurring vtimer for current line immediately. 2018-05-28 11:25:07 -05:00
Brandon Wright d33c9eaad5 Fix case when vtimer and htimer are enabled and the timer would have triggered earlier on the current line. 2018-05-27 12:45:18 -05:00
Brandon Wright c932d4e37a Add IRQ transition. 2018-05-27 11:03:21 -05:00
Brandon Wright 937eeab133 Fix Mortal Kombat II. 2018-05-26 18:08:03 -05:00
Brandon Wright 37954fe510 Fix some IRQ bits. 2018-05-26 17:02:57 -05:00
Brandon Wright 20bd60a3c6 Update copyright dates. 2018-05-25 15:44:52 -05:00
Brandon Wright 9b595b5b19 Return different MDR in some cases. 2018-05-22 18:49:20 -05:00
Brandon Wright a74fe2f623 Fixed IRQ handling. Dumb me. 2018-05-19 18:12:42 -05:00
Brandon Wright d27d9b6dbd Fix a couple IRQ problems. 2018-05-19 16:54:05 -05:00
Brandon Wright f1cab4ab17 Change NextTimer to NextIRQTimer. Don't subtract a dot in interlaced mode. 2018-05-19 10:33:26 -05:00
Brandon Wright 3553650469 Write OpenBus during S9xSetPPU. 2018-05-18 19:49:35 -05:00
Brandon Wright f6864c422f Different IRQ handling. 2018-05-18 14:53:27 -05:00
Brandon Wright aaae363257 Simplify NMI trigger. 2018-05-18 11:10:01 -05:00
Brandon Wright 574f3b1780 Fix typo. 2018-05-17 16:40:05 -05:00
Brandon Wright 8c47efb89a Bound late NMI trigger to last half of scanline. Be more careful setting trigger position. 2018-05-17 16:24:51 -05:00
Brandon Wright e14a32dd8c Add some NMI debugging info. 2018-05-17 14:52:10 -05:00
Brandon Wright 703c41fa9a Fix Mario's Time Machine. 2018-05-14 10:48:05 -05:00
Brandon Wright 070d5e5dbf Fix reset of NMI pending flag. 2018-05-02 10:00:27 -05:00
Brandon Wright 5285ec4e9d Move color table generation out of tile renderer. 2018-04-11 12:45:06 -05:00
Brandon Wright 0ac424359b Reset GFX.InterlaceFrame on PPU reset. 2017-11-25 12:26:23 -06:00
Brandon Wright 7a2ca6dc2a Update copyrights. 2017-11-17 16:00:58 -06:00
qwertymodo f13676cfd3 Fix MSU-1 sample buffer size 2016-11-03 13:10:01 -07:00
qwertymodo 3c0f6bfdee Begin adding MSU-1 support. Data streaming is working in Windows, audio streaming is not. 2016-11-03 11:40:47 -07:00