Commit graph

1044 commits

Author SHA1 Message Date
Souryo
cc67a333c5 Fixed SRAM bug when closing emulator (FolderUtilities would get destroyed before Console, which caused a crash while trying to save the .sav file) 2015-07-20 23:20:41 -04:00
Souryo
97e36a1e27 Optimized Length Counter "NeedToRun" 2015-07-19 22:24:56 -04:00
Souryo
95c0ab9047 IRQ/NMI timing fixed (Dragon Quest 3 was still broken) + code cleanup 2015-07-19 22:09:24 -04:00
Souryo
ac0d84171a Cheats - Add checkbox for custom cheats' compare value 2015-07-19 20:02:07 -04:00
Souryo
3362911a4d Fixed active statement selection in debugger 2015-07-19 15:01:03 -04:00
Souryo
4745c740b6 Fixed IRQ/BRK timing issue, not quite right yet, but fixes Dragon Quest 3 2015-07-19 15:00:29 -04:00
Souryo
841b1f576c Breakpoints in debugger (partial, can only add exec breakpoints) 2015-07-19 11:55:53 -04:00
Souryo
84f735b6a4 Improved APU accuracy - passes most APU tests 2015-07-19 01:30:13 -04:00
Souryo
af749cb6ad Unofficial op codes (partially) implemented 2015-07-18 14:53:15 -04:00
Souryo
42d5e43343 Show FPS & Limit FPS options are now saved to settings file 2015-07-17 21:18:57 -04:00
Souryo
266ca82a06 Added basic audio settings 2015-07-17 20:58:57 -04:00
Souryo
d70010f324 Run APU every 1 CPU clock 2015-07-16 16:55:16 -04:00
Souryo
444db81dfc Added reset/savestate support to APU 2015-07-14 23:35:30 -04:00
Souryo
3dfacb7289 Potential fix for a crash that sometimes very rarely occurred when loading the emulator 2015-07-14 21:53:01 -04:00
Souryo
ebf35e52ed Input config - Fixed crash when trying to set a new key 2015-07-14 21:52:30 -04:00
Souryo
9b661fcbb5 Fixed PGOHelper (broken by UTF-8 string changes) 2015-07-14 21:52:08 -04:00
Souryo
c810b4802a Moved FPS counter to renderer, instead of emulation core (gained ~20 fps) 2015-07-14 21:51:39 -04:00
Souryo
e5fe396ffb Proper APU emulation (no longer using a library for it, except BlipBuffer) - Not finished need to implement save states & reset behavior 2015-07-14 21:50:42 -04:00
Souryo
bb52c3f69c Removed all code from header files (Utilities project) 2015-07-11 10:01:06 -04:00
Souryo
e7e77ccfa7 Converted all wide strings to utf8 strings
Fixed exception throwing to be standard
2015-07-11 08:27:22 -04:00
Souryo
e70448820c Input mapping support + Fourscore support + Turbo buttons 2015-07-10 21:07:24 -04:00
Souryo
0c91a15fa0 -Added x64 build
-Rearranged build folders to be cleaner
-Required resource files are automatically copied to the output folder
2015-07-06 21:31:32 -04:00
Souryo
3cf441b6c9 Fixed debugger (wasn't triggering execute breakpoints) 2015-07-05 22:28:17 -04:00
Souryo
7b0fac672d -Movies now record what game (name & CRC32) they were recorded from and attempt to load the same rom when played
-Movies/NetPlay now use the recent files list to look for roms to load
2015-07-05 22:23:44 -04:00
Souryo
586b72e081 Hard reset now resets NES ram 2015-07-05 20:30:39 -04:00
Souryo
3daf877133 Fixed movies when recording "from start" a game that has different soft/hard reset behavior. (Recording/Played a movie from the start now forces a hard reset) 2015-07-05 19:35:38 -04:00
Souryo
c25ef7f07a All settings/files are now saved in Documents\Mesen 2015-07-05 19:21:49 -04:00
Souryo
6ab9f63476 Fixed issue where save/load state shortcuts were not working correctly until the menu was manually opened by the user 2015-07-05 19:12:41 -04:00
Souryo
3858397d6e Allow messages containing new lines to wrap properly 2015-07-05 19:06:43 -04:00
Souryo
f88b3921f9 Added missing cheat-related files 2015-07-05 19:06:06 -04:00
Souryo
c895d1252e Added cheat code support - Supports Game Genie, Pro Action Rocky and Custom codes 2015-07-05 19:05:33 -04:00
Souryo
8bff3c7283 -Added control bindings to BaseConfigForm
-Remove icon from forms and added it generically to BaseForm (reduces .exe size greatly)
2015-07-05 19:03:57 -04:00
Souryo
f9060dc351 Fixed small PPU display bug introduced in previous build - need to return only if we set the sprite's pixel 2015-07-05 08:47:34 -04:00
Souryo
7cf5dafc40 -Fixed timing issues (with sprite DMA) + a bit of refactoring
-PPU is now run AFTER a read/write, instead of before.  (And the CPU class is in charge of running it, instead of the MemoryManager class)
2015-07-05 00:27:26 -04:00
Souryo
f3df2ecf17 -CPU code changes to implement all dummy reads/writes. Each memory access runs the PPU for 3 cycles (PPU is now controlled by the CPU)
-Optimizations + PGO (profile guided optimization) build support
2015-07-04 22:21:14 -04:00
Souryo
b01e94d64d Made FPS counter look a bit cleaner 2015-07-03 00:18:43 -04:00
Souryo
e84ecbc972 Cheat code UI - not finished 2015-07-03 00:12:02 -04:00
Souryo
d793a7f711 -Deleted old UI project 2015-07-01 23:17:48 -04:00
Souryo
48409ae82b -Rewrote entire GUI in .NET
-Several other fixes (bugfixes, refactoring, etc.)
-Added a few more features to debugger
2015-07-01 23:17:14 -04:00
Souryo
f8f9755eff Unfinished visual debugger implementation (to be finished later) 2015-06-24 19:26:19 -04:00
Souryo
366d4aec80 Mapper 189 support 2014-08-04 15:55:20 -04:00
Souryo
84e54c9b7d Fix for MMC1 - Ignore writes that occur after a dummy write - Fixes Bill & Teds + others 2014-07-28 20:52:47 -04:00
Souryo
4897f2f6ad Fixed automated tests 2014-07-27 19:42:32 -04:00
Souryo
941efc4110 CPU: Rewrote logic to use an addressing mode table, implemented dummy writes 2014-07-27 19:29:04 -04:00
Souryo
674e64e655 Fixed PPU memory mirroring issue - caused incorrect MMC3 IRQ timing in some games (i.e Burai Fighter) 2014-07-26 22:14:08 -04:00
Souryo
35d2e9cc00 PPU: Need to perform both sprite & bg fetches when either sprite or background is enabled. Otherwise things that rely on these fetches break - such as the MMC3 IRQ timer. Fixes Burai Fighter freezing at the start of level 1 2014-07-26 20:21:36 -04:00
Souryo
3823407b58 Mapper 163 support (Only tested on FF7) 2014-07-12 22:23:08 -04:00
Souryo
5f138629b2 Moved SRAM & Expansion RAM to BaseMapper. 2014-07-12 22:22:40 -04:00
Souryo
4a3fd7f350 MMC3 fix (based on specs) 2014-07-12 21:01:28 -04:00
Souryo
7f62a749d6 Added player 2 key mappings to keyboard (patch/temp) 2014-07-12 20:57:58 -04:00