Commit graph

1677 commits

Author SHA1 Message Date
Sour 06ccf0bdb0 Save states: Fixed incorrect timestamp in menu
Also changed save states to contain the raw framebuffer rather than a PNG, which allows displaying the screenshot in the emulator window when loading a state while paused
2020-01-28 23:33:37 -05:00
Sour d6728ee306 UI: Added load/save state menus with dates & previews 2020-01-28 20:20:54 -05:00
Sour 66b618153a Fixed compilation warnings 2020-01-28 20:07:42 -05:00
slash0042 5bb0f5c811 Libretro: Add support for libnx (#755) 2020-01-28 03:58:14 +00:00
Sour 551b2800cf Input: Family Basic Tape - Fixed load tape operation 2020-01-26 19:54:52 -05:00
Sour bf6a8a2de2 GTROM: Added self flash support 2020-01-25 19:36:16 -05:00
Sour b5a0f9a4f1 UNROM512: Added self flash support 2020-01-25 19:35:56 -05:00
Sour 3fde8f8073 Run Ahead: Fixed some issues with FDS/VS System system actions not being processed properly 2020-01-25 13:40:24 -05:00
Sour 78288fc456 FDS: Fixed minor issue with save states that caused problems when using run ahead 2020-01-25 12:11:06 -05:00
Sour d44da4f9b6 Debugger: Event Viewer - Fixed rare crash when opening window (esp. on Linux) 2020-01-24 22:37:34 -05:00
Sour f62fc1f13f Action53: Fixed 6502 CPU crash when loading game with runahead enabled (save state issue) 2020-01-23 21:08:46 -05:00
Sour 867ca84f7f UI: Removed developer mode option
Debug menu is now always displayed in main window
2020-01-23 19:32:09 -05:00
Sour d3c00e05db MMC5: Fixed condition priority with vertical split mode 2020-01-22 20:04:51 -05:00
Sour 47b10a234b Linux: Fixed compilation error 2020-01-22 20:04:14 -05:00
Sour 6bc5b89ae4 Softpatching: Fixed IPS/BPS files not being applied properly 2020-01-19 19:15:56 -05:00
Sour f21c473449 Tests: Fixed issue replaying recorded tests (IsValid was false for .mmo files) 2020-01-19 14:45:47 -05:00
Sour 17c8294f5d MMC5: Improved accuracy (scanline counter, split screen mode, etc.) 2020-01-19 14:45:04 -05:00
Sour f1c48acdfe Debugger: Lua - Fixed draw commands not being permanent when frame count is set to 0 2020-01-05 15:27:10 -05:00
Sour c46316fb46 Linux: Fixed compilation error due to incorrect file name capitalization 2020-01-02 09:27:25 -05:00
Sour 6de0a7b7e0 Study Box: Improved some timings, reimplemented command $86 in a way that makes more sense 2020-01-01 22:21:15 -05:00
Sour 67c8cb4433 Study Box: Fixed issues with 96kHz sample rate
Also fixed sound playing too slow/fast if changing sample rate during playback
2020-01-01 18:47:55 -05:00
Sour 18f87ffcc6 Study Box: Updated loader to match new file format specs 2020-01-01 18:47:13 -05:00
Sour 8047fe44bb Added Study Box tape support (.studybox files)
-Added audio support
-Improved emulation logic
-Games are loaded via .studybox files
2019-12-31 20:24:06 -05:00
Sour ad986023e0 NSF: Fixed crash when loading NSFe files 2019-12-29 10:38:31 -05:00
Sour 8cd0d14fdf NSF: Fixed issues with some FDS NSF files
$5FF6/$5FF7 were not being set to the values in $76/$77 if the value was 0
2019-12-29 10:32:19 -05:00
Sour 984ce9bd05 PPU: Glitch on $2000 writes at cycle 257 should only corrupt bit 10 of v (not 10+11) 2019-12-25 12:19:16 -05:00
Sour 33a5d3b0c9 PPU: Fixed "remove sprite limit" option not working 2019-12-25 09:30:42 -05:00
Sour e7ca41987c PPU: Only trigger cycle 257 write glitches when the writes occur while the PPU is rendering 2019-12-24 22:31:43 -05:00
Sour 13e358a47c Run Ahead: Turn off runahead when fast forwarding 2019-12-24 22:31:26 -05:00
Sour c7675bcd49 Core: Added runahead support (1 to 10 frames) 2019-12-24 13:55:40 -05:00
Sour fd02e406b0 MMC5: Save EXRAM data in .sav file when board has a battery 2019-12-23 22:20:34 -05:00
Sour c3b1b3effc Input: Reading the controller while the strobe signal is high should always return the state of button A
Fixed an edge case that occurred when setting strobe bit after reading $4016 once and then reading $4016 again
2019-12-23 20:47:10 -05:00
Sour 32f5ece894 Rewind: Fixed rewind no longer processing inputs after a power cycle 2019-12-23 16:39:06 -05:00
Sour 8fd28e2e8f UI: Display more than 1 game in game selection screen 2019-12-23 14:51:26 -05:00
Sour 11720fd30d UI: Added shortcuts to select a specific save slot 2019-12-23 14:50:34 -05:00
Sour d84243b8b0 PPU: Prerender scanline sprite fetches should fetch dummy tiles (index $FF) 2019-12-22 17:57:47 -05:00
Sour ec4a215d0b VS: Fixed VS2019 compilation for x86/etc 2019-12-21 13:12:30 -05:00
Sour 58b6dd188f Upgrade to VS2019 and C++17 2019-12-21 12:23:55 -05:00
Sour 4ca3442719 MC-ACC: Update/fix behavior based on recent findings 2019-12-20 23:40:09 -05:00
Sour 933fa3e8ba Mappers: Fixed/improved emulation of multiple unlicensed mappers
Based on NRS' research
2019-12-20 22:59:09 -05:00
Sour 11135ec485 HD Packs: Added new features (contributed by kya) + updated docs 2019-12-20 13:53:13 -05:00
Sour 8fd774b038 Debugger: Added "break on bus conflict" option 2019-12-12 21:03:32 -05:00
Sour e31e500b03 Color Dreams: Allow oversized roms (4 bits for PRG instead of 2 bits) 2019-12-08 17:06:37 -05:00
Sour bc32701d8e Debugger: Fixed CHR mapping display bug 2019-12-06 20:29:58 -05:00
Sour 9711c7ab10 MMC5: Fixed exram nametable mapping (exram mode 0/1) 2019-11-26 16:55:26 -05:00
Sour 75ad4a1ff1 MMC3: Increase the minimum gap to 9 pixels between A12 rises (8 pixels breaks Wario Woods) 2019-11-24 18:46:43 -05:00
Sour c5ddfcc301 Study Box: Improvements/fixes (and a lot of guesses)
-Sync up tape data with cpu cycles
-Fixed command $86 to move to the next "subpage"
2019-11-24 15:03:04 -05:00
Sour 7b20300f6d DirectSound: Fixed latency issue that caused sound to cut off within the first second after loading a rom after starting the emulator 2019-11-24 10:53:53 -05:00
Sour 38b50f016f Study Box: Fixed incorrect mappings and fixed the display for 4400-4FFF in the debugger window
(+ fixed some debug warnings)
2019-11-23 21:40:13 -05:00
Sour fdf9c39490 Study Box: Ability to load data pages and see the corresponding scene/game (no audio) 2019-11-22 23:36:56 -05:00
Sour f7ff089689 Core: Fix NMI code to better reflect the hardware
Fixes a crash in Super Chinese 3 caused by the PPU rapidly switching the NMI signal on and then back off (which caused the CPU to incorrectly jump to the IRQ handler and crashed the game)
2019-11-21 22:33:08 -05:00
Sour 85f4c1cc2f Debugger: Event Viewer - Apply emphasis/grayscale bits to ntsc borders 2019-11-20 18:43:38 -05:00
Sour 8508b211cc Debugger: Event Viewer - Added option to show NTSC borders
+ Ported most of Mesen-S' event viewer code to allow this to work
2019-11-19 22:28:45 -05:00
Sour 43811ae7ac UI: Added "reload rom" option and changed power cycle to not reload from disk 2019-11-19 22:18:09 -05:00
Sour 5f7b2319ce Fixed lockup when rom is no longer on disk and power cycle is pressed while debugger tools are opened 2019-11-16 22:56:01 -05:00
Sour 27d512e02f Input: Turn off hot plugging for directinput devices
Loading, resetting a game or opening input config will still check for new DInput controllers
2019-11-16 22:32:06 -05:00
Sour ae0547df65 FDS: Fixed issue that caused FDS games to create IPS files even when no save data was required 2019-11-16 21:19:48 -05:00
Sour 8d1f66b2d3 Debugger: Stop/halt instructions now only display a message, and only break execution if break on cpu crash option is turned on 2019-11-16 13:18:55 -05:00
Sour 246e8a2c0a Save states: Make auto save states ignore time when the game is paused 2019-11-14 21:26:22 -05:00
Sour 9752f8ac87 Movies: Ignore battery save files for Bizhawk/FCEUX movies 2019-11-14 20:15:54 -05:00
Sour 48db261942 Input: Change invalid input logic to cancel out both directions instead 2019-11-14 18:11:29 -05:00
Sour ea9e31f44e Debugger: Event Viewer - Option to show DMC DMA reads 2019-11-13 22:50:52 -05:00
Sour e95bdf4203 Core: Make pause/fast forward/save state/etc more responsive when running emulation at low speeds 2019-11-13 20:52:12 -05:00
Sour fa05434d56 Rewind: Fixed crash when rewinding within the first 30 frames of the game 2019-11-13 18:44:11 -05:00
Sour 7041ec7682 Linux: Fixed compilation warnings/errors with GCC/clang 2019-11-13 18:30:05 -05:00
Sour 26773a1ecc CPU: Randomize cpu/ppu alignment on resets (not just power cycle) 2019-11-12 21:03:03 -05:00
Sour fc7714d6f0 PPU: Added option to emulate the scroll glitch that can occur when writing to 2000/2005/2006 on cycle 256 2019-11-12 21:00:30 -05:00
Sour 36e2d04fe9 Debugger: Added option to break when a $2006 write scroll glitch occurs 2019-11-11 21:10:55 -05:00
Sour d96f09a1e1 Core: Display CPU/PPU alignment in log window at power on (when random) 2019-11-11 21:10:53 -05:00
Sour 85fd6b36a9 PPU: Implement glitched $2006 address updates when done on X/Y increment cycles 2019-11-11 21:10:50 -05:00
Sour a72acc9f1a Core: Rewrite DMC/OAM DMA, tweak PPU timings, add option to simulate PPU/CPU alignments 2019-11-11 21:10:47 -05:00
Sour bc335e104d Debugger: Added ":" operator to return an address' offset in prg/sram/wram/etc. 2019-11-04 20:16:20 -05:00
Sour c35d6d8989 Debugger: Profiler - Added min/max/avg cycle counts per function call to profiler 2019-11-03 15:10:23 -05:00
Sour 20fe8bd4c7 Debugger: Fixed refresh/display issues after changing PRG ROM via the memory tools or assembler 2019-11-03 13:52:15 -05:00
Sour 1f62e043d6 Debugger: Fixed issues and crashes with "step back" 2019-11-03 11:46:05 -05:00
Sour a6f5494180 Netplay: Fixed potential crash when using netplay with cheats enabled 2019-10-20 21:27:28 -04:00
Sour 30c2c8d3bf PPU: Disabling rendering midscreen should set the vram bus to the value of 'v'
This prevents jittering in the Steins;Gate 8-bit game that doesn't occur on hardware
2019-10-12 10:58:07 -04:00
Sour 5b6b57be72 MMC3: Fixed A12 rise/fall logic bug (did not properly count the number of elapsed cycles) 2019-10-12 10:58:07 -04:00
Jeremy Chadwick 85a98475b0 Mapper 28: Extend prg range (#662)
* Extend mapper 28 (Action 53)'s PRG range from 2mbit to 8mbit

"Register" $81 (outer bank, i.e. regs[3]) supports a full 8-bit value
for the outer PRG ROM bank, permitting up to 8mbit total space.

Currently Mesen only honours the lower 6 bits (probably because some
(but not all) hardware implements it that way).  This limit lead to some
complications when trying to use Mesen to test behaviour vs. actual
hardware.

Matter was discussed on Discord with jroach and Tepples.

* Fixup for 0f9d8a2: missed one line

* Fixup for 0f9d8a2: remove WriteRegister mask
2019-09-17 21:40:25 -04:00
davi92 f648a30f17 UI: Added Italian language (#658) 2019-09-17 21:37:09 -04:00
Sour 373c489b01 Video: Fixed palette for emphasis bits not being generated when no palette data exists in config 2019-07-07 08:38:45 -04:00
Sour 4c701ad6cf UNROM512: Fixed horizontal/vertical mirroring being inverted 2019-06-25 19:49:22 -04:00
Sour 886ae6425f Fixed some cases of variables being used before initialization 2019-06-23 20:11:10 -04:00
Sour 279c395271 Fixed FDS/VS System games no longer loading properly 2019-06-23 17:15:05 -04:00
Sour f544688b64 Version Update: 0.9.8 2019-06-23 14:05:44 -04:00
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 5048392324 Mapper 320: Fixed mask for register (fixed Mermaid in multicart) 2019-06-22 15:33:08 -04:00
Sour 1b035efb18 Save States: Fixed v10 states still being loadable despite no longer being compatible 2019-06-18 16:35:46 -04:00
Sour 118f1ccb94 Debugger: Lua - Fix cycle not returning a 64-bit value in getState() 2019-05-22 20:35:50 -04:00
Sour 04a41a1dd7 Debugger: Trace Logger - Added clear log button 2019-05-20 17:05:01 -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 03f160a949 UNROM512: Fixed mirroring logic to match changes on the wiki (fixes Black Box Challenge) 2019-05-11 09:26:56 -04:00
Sour 6fed49f759 Lua: Fixed minor issue in cleanup code when closing a script 2019-05-11 09:13:31 -04:00
Sour d4676e51fd Debugger: Fixed minor potential multithreading issues (and removed unused variable) 2019-04-12 19:58:38 -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 45f7646b99 Input: Fixed inverted bracket keys for family basic keyboard 2019-04-12 19:26:38 -04:00
Sour 3cfb179357 MMC5: Fixed fill mode attribute color information 2019-04-07 08:13:13 -04:00
Sour c241eb56c4 VRC7: Updated audio data to match values recently dumped from hardware 2019-03-27 20:23:22 -04:00
Sour cf40b967f4 Video: Fixed black screen when settings file doesn't contain a palette (use default 2c02 palette in this case) 2019-03-15 21:28:42 -04:00
Sour f5bee853c7 Movies: Fixed crash when loading a movie while no game is running 2019-02-27 19:13:11 -05:00