Commit graph

168 commits

Author SHA1 Message Date
Sour
e338ab0765 Fixed init order when loading a game to prevent potential crashes (or incorrect behavior) in some scenarios (mostly if using the random mapper state option) 2019-06-22 16:33:59 -04:00
Sour
5b80d2fe21 Core: Changed CPU cycle counter to be a 64-bit int (breaks save state compatibility) 2019-05-12 12:28:01 -04:00
Sour
e826d4dfdd PPU: Fixed bug when reading status flag (this disabled blue emphasis).
Unsure why this line existed - seems to have been added by mistake 5 years ago
2019-04-12 19:43:03 -04:00
Sour
e758398b8f PPU: Disabling rendering during sprite evaluation causes the OAM address to be incremented by 1 2019-02-02 00:25:08 -05:00
Sour
f6b474569d PPU: Prevent palette writes during HBlank when rendering is enabled
+ Try to emulate the behavior of $2007 writes during rendering better
2019-01-27 20:53:25 -05:00
Sour
bdbb16866b Debugger: Fixed "Break on decayed OAM read" option triggering a break when CPU cycle count reached max value 2019-01-14 20:16:26 -05:00
Sour
ec0853fcf1 Debugger: PPU Viewer - Fixed tile/attribute update logic when overclocking is turned on 2019-01-13 20:18:31 -05:00
Sour
72d9e7ee13 Core: Remove old savestate compatibility code
No longer needed since the previous commit broke compatibility completely.
2019-01-13 15:20:57 -05:00
Sour
6d693a432d Debugger: Break on decayed OAM read option no longer triggers when sprite rendering is disabled 2019-01-10 18:40:53 -05:00
Sour
40710c3665 Debugger: Allow debugger to peek at APU/PPU registers without altering the state 2018-12-25 00:07:45 -05:00
Sour
937a90626d Debugger: Added option to evaluate all breakpoints on the first cycle of an instruction 2018-12-24 15:21:21 -05:00
Sour
4459b18fa3 Debugger: Added option to display why the debugger breaks (breakpoint, break options, etc.) 2018-12-23 00:10:00 -05:00
Sour
d305abe8fe Debugger: Nametable viewer - Fixed scroll overlay position when game updates scroll offsets mid-frame 2018-09-07 21:10:52 -04:00
Sour
15373016d0 Refactoring - removed statics from EmulationSettings 2018-07-14 18:32:32 -04:00
Sour
36b88ac6af Debugger: Don't auto-start debugger when oam decay is turned on 2018-07-08 10:28:48 -04:00
Sour
9f12f1c756 Debugger: Added option to break on decayed OAM read 2018-07-08 10:28:48 -04:00
Sour
47fbe93b62 Added support for VS DualSystem (WIP - dual video/audio, input, save states, movies & netplay working) 2018-07-08 10:28:48 -04:00
Sour
c877f73891 Split part of MessageManager into non-static NotificationManager
+ Fixed movie recording/playback (for .mmo files)
2018-07-08 10:28:47 -04:00
Sour
04310eddb4 Core refactoring (remove static variables) - WIP 2018-07-08 10:28:47 -04:00
Sour
1e90a71394 Linux: Removed -Wno-switch option and fixed warnings 2018-06-25 15:56:05 -04:00
Sour
d179b5e7d1 Fixed uninitialized memory reads 2018-06-13 17:48:52 -04:00
Sour
aad8b2bd47 PPU: Simulate the PPU's address bus a bit better (fixes Touhou Rououmu homebrew that detected Mesen as an emulator because of it) 2018-06-02 22:12:00 -04:00
Sour
b641830058 Debugger: Lua - Fixed some bugs/limitations with drawing routines (now works with NTSC filters, etc.) 2018-03-24 10:09:04 -04:00
Sour
981b121848 Debugger: Reduce frame lag between event viewer and main window when running 1 frame at a time 2018-02-23 12:18:12 -05:00
Sour
11c592a622 Debugger: Event viewer improvements/fixes 2018-02-19 23:23:26 -05:00
Sour
d8e00168a4 Debugger: Added "Event Viewer" tool - replaces PPU Register Write Viewer 2018-02-18 23:03:02 -05:00
Sour
fcad33750b Debugger: Added option to show previous frame behind the current frame 2018-02-16 20:05:15 -05:00
Sour
06d7c8f363 Debugger: Added PPU Register Write Viewer to PPU viewer 2018-02-16 17:36:37 -05:00
Sour
a0a6d89416 Input: Fixed extra frame of input lag 2018-01-07 10:31:37 -05:00
Sour
cf0bd50b9e Libretro support (Windows) 2018-01-04 19:03:47 -05:00
Sour
423ac65a7e Debugger: Allow PPU breakpoints to break on $3F00-$3FFF palette ram accesses 2017-12-29 20:03:32 -05:00
Sour
2b851d5d38 Performance: Code optimizations (7-10% faster than 0.9.3) 2017-12-04 00:09:11 -05:00
Souryo
850102bbdc Input: Added support for ~20 new peripherals (Incomplete, more fixes/changes to come)
Movies: Rewrote format to support all IO devices and console types
Netplay: Now supports all IO devices and console types
2017-11-19 23:08:23 -05:00
Souryo
b1dd996534 PPU: Fixed "Disable background" option issue with sprite 0 hits 2017-09-28 20:13:21 -04:00
Souryo
1f974dcedd Debugger: Scroll overlay position is now based on the selected cycle/scanline 2017-09-28 20:05:00 -04:00
Souryo
c79c1ffdec PPU: Fixed Dendy issue with intensify & grayscale bits 2017-09-04 08:31:54 -04:00
Souryo
96d15dd768 Fixed compilation warnings 2017-08-06 11:55:23 -04:00
Souryo
ce3e4d7c80 Debugger: Fixed issues with CPU/PPU state edition 2017-08-05 14:55:07 -04:00
Souryo
f975728005 Debugger: Allow stepping back through the execution (by using rewind mechanic) 2017-08-01 22:49:50 -04:00
Souryo
547fbab29f Overclocking: Improved compatibility with games that write to $4011 + fixed PAL issues with OC 2017-07-17 19:35:16 -04:00
Souryo
80581e6118 Overclocking: Fixed regression introduced in 0.9.0 that caused issues in some games 2017-07-15 19:59:55 -04:00
Souryo
e82371e2f8 HD Packs: Improvements, new features, bug fixes 2017-06-28 20:01:24 -04:00
Souryo
d05d66507c Emulation: Added adaptive sprite limit option to reduce graphical glitches when possible 2017-06-08 20:00:51 -04:00
Souryo
27dbf34940 Dendy: Fixed sound emulation issues 2017-05-14 09:40:28 -04:00
Souryo
cf8c98f384 Overclocking: Changed APU behavior when adding extra lines before/after NMI (helps reduce overclocking-related issues) 2017-04-29 21:39:57 -04:00
Souryo
3a6c8ca416 Added rewind functionality 2017-04-28 19:54:58 -04:00
Souryo
194d933685 Movies: bk2 movie format support (incomplete + sync issues vs NesHawk) 2017-04-22 13:19:21 -04:00
Souryo
c477d75b66 PPU: Fixed reset state (started at cycle 1 instead of 0) + adjusted reset sync values (improves read2004 result).
+Simplified PPU code for a small performance boost (+3-6%)
2017-04-21 21:29:39 -04:00
Souryo
a79bbd06eb PPU: Emulate pixels being rendered 2 cycles later (in regards to grayscale/intensify flags) - fixes nmi_sync\demo_ntsc (thanks to Alyosha's research) 2017-04-20 21:58:35 -04:00
Souryo
e1fae4e302 PPU: Added option to emulate OAM decay 2017-04-08 14:13:10 -04:00