56 Commits
Author SHA1 Message Date
SourMesen 8de35838d5 PCE: Support homebrew CD-ROM marker to automatically select SuperGrafx mode (#150) 2026-05-29 21:41:15 -07:00
SourMesen 37de357b75 NES: FDS - Performance improvements (#143)
-ProcessCpuClock was used to check for events that don't need to be checked that often (auto-switch disk + auto fast-forward options). This has been moved to an EndFrame callback.
-This was even slower than intended because of the call to _emu->GetFrameCount() which was, relatively speaking, fairly slow. To improve its performance (since it's used rarely for some things like turbo button processing), a separate GetFrameCount function was added on all console classes, and Emulator::GetFrameCount was also optimized to be faster when called from the emulation thread.

When the auto-switch disk option is enabled, this can improve performance by about 25-30%. When the option is not enabled, this still improves performance by 4-5%.
2026-05-27 04:02:54 -07:00
SourMesen 335b346a1c PCE: Fixed crash when loading files smaller than 1kb (#92) 2026-05-08 17:42:23 -07:00
SourMesen e391fd8f9a Code: Add auto-formatting rules for C++ (clang-format) and enforce in CI via "clang-format" and "dotnet format" (#78)
* Code: Add auto-formatting rules for C++ projects (clang-format) and enforce code style via "clang-format" and "dotnet format"

* fix ui format warnings
2026-04-30 06:03:55 -07:00
Sour cb0da64c5b PCE/SMS/WS: Fixed behavior/crashes when loading ROMs that aren't a power-of-2 size 2025-04-24 21:26:15 +09:00
Sour 6820db3793 Fixed compilation errors in clang (in VS) 2024-12-25 18:58:57 +09:00
Sour e52fa70944 Debugger: Source View - Improve active row behavior when multiple mirrors exist
+ Automatically move to current address when clicking on the source view tab (so that the active row is shown after manually loading a symbol file, etc.)
2024-12-07 20:00:24 +09:00
Sour 6cc490e90f PCE: Fixed emulator crash when running large block transfers 2024-05-13 17:58:33 +09:00
Sour 13acb3fe42 Added GBA support 2024-03-30 11:42:31 +09:00
Sour 2761a5814e UI: Fixed broken screenshots in load/save state menus on NES when a hd pack is loaded 2023-04-22 20:44:25 -04:00
Sour 452785fee5 PCE: Added support for Games Express CD card/games 2023-04-17 21:29:14 -04:00
Sour 4ea985f4b5 When a file has an unknown extension, check for known file signatures to pick a core 2023-03-12 16:39:48 -04:00
Sour c363474035 Rewind: Reduce memory usage, increase save state frequency (which reduces delay when rewind starts) 2023-02-16 22:18:56 -05:00
Sour b7e1a84678 PCE: When ext is sgx and model is set to auto, assume supergrafx 2023-01-26 16:59:43 -05:00
Sour fe90b4571d Fixed misc code TODOs 2023-01-24 18:05:50 -05:00
Sour b606adbd69 PCE: Force RAM to 0 for HES files to prevent issues with random RAM 2022-10-10 23:59:17 -04:00
Sour c90181c1a2 Refactoring - Moved some GB/PCE files into subfolders 2022-09-08 22:23:30 -04:00
Sour 7108bdde36 Refactoring - Moved some leftover files out of the root folder 2022-09-08 21:48:49 -04:00
Sour 152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour 362f5c0430 PCE: Fixed SuperGrafx memory mappings (only use cd-rom card when loading a cd-rom game) 2022-09-05 11:04:58 -04:00
Sour fff4c69424 PCE: Fixed debugger TODO 2022-09-03 20:01:21 -04:00
Sour c3a83d2aa9 PCE: Added support for .hes music files 2022-09-03 14:41:07 -04:00
Sour 63b255d696 PCE: Refactor memory manager 2022-09-03 10:35:49 -04:00
Sour 6d00765c4a PCE: Timer refactoring + added to register viewer 2022-09-03 00:20:45 -04:00
Sour a85c1ce5a5 PCE: Implemented bram (save ram) read/write protect flag + refactoring to move some cd-rom specific code 2022-09-02 18:56:47 -04:00
Sour bec01fad91 PCE: Implemented CD-ROM audio fade 2022-09-02 15:39:13 -04:00
Sour 0de17a6df1 Debugger: MemoryType::Register refactoring 2022-08-29 20:29:12 -04:00
Sour 1e1e5432d0 PCE: Fixed out-of-bounds memory access caused by PSG not running for a long time (e.g during a block transfer that extends long past the end of a frame)
Run PSG at the start of vblank (instead of only running it on the next instruction after vblank)
2022-08-24 00:50:48 -04:00
Sour 1edfa463bd PCE: Changed internal resolution to 1168px (for overscan) and added overscan options 2022-08-21 22:05:38 -04:00
Sour 84da5cdcd3 Debugger: Make GetTimingInfo return GB timing info when called in SGB mode if the caller is bound to the Gameboy cpu 2022-07-27 23:35:02 -04:00
Sour 623892d6c3 Fixed ram init logic to ensure the correct config option is used when loading a game 2022-07-25 22:04:44 -04:00
Sour 77692f323d Fixed behavior when loading an invalid rom while a rom is loaded, fixed battery save behavior when switching between games, fix/cleanup some TODOs 2022-07-21 16:12:24 -04:00
Sour 05180385ab PCE: Implemented save states 2022-07-20 18:49:25 -04:00
Sour 4d9c4f76a9 Save states: Fixed crashes when loading invalid states, fixed load/save state menus not working properly, fixed crash when loading PCE states 2022-07-20 14:28:19 -04:00
Sour eb80802d3a UI: Keep emulation paused when using reset/power cycle, prevent game from running when debugger is opened while paused 2022-05-29 12:17:51 -04:00
Sour 6b285f0a2a PCE: Fixed some debugger TODOs 2022-05-26 23:34:41 -04:00
Sour 672ff1dc43 PCE: Added CD-ROM and Arcade Card information in register viewer 2022-05-24 18:13:30 -04:00
Sour 529508d8d5 PCE: Use 1-byte operands for zero page addressing, fixed/improved effective address display 2022-05-19 18:44:57 -04:00
Sour c307f06449 PCE: Implement card ram for Populous + refactoring 2022-05-18 19:06:29 -04:00
Sour 0a6a8e92b2 PCE: SuperGrafx support 2022-05-15 20:35:56 -04:00
Sour 6d0fb13cdc PCE: Rename PPU to VDC 2022-05-13 18:02:25 -04:00
Sour e1c45afdb8 PCE: Split VCE into its own class 2022-05-13 17:38:37 -04:00
Sour b9ff79149a PCE: Added options to select console/cdrom types + option to enable the cdrom fully for hucard games + option to disable cdrom save ram for hucard games 2022-05-12 21:42:18 -04:00
Sour 851a643895 PCE: Save ram for CD games 2022-05-01 20:22:43 -04:00
Sour a9f8980f59 PCE: NTSC filter + refactoring 2022-05-01 19:20:58 -04:00
Sour d91fe01c61 Output 512x484px at all times, nearest neighbor rows that aren't the same width, etc. 2022-04-26 20:57:54 -04:00
Sour 48019e2770 Ignore PCE file headers when they exist 2022-04-17 20:46:20 -04:00
Sour 23bd5c599f CD audio playback, ADPCM playback 2022-04-16 17:52:25 -04:00
Sour ab023e0a9a Allowing loading CUE files, refactor mappings, implement bram, allow viewing cdrom memory in debug tools, etc. 2022-04-15 12:14:29 -04:00
Sour ed2c5fa0ba wip 2022-04-14 19:15:46 -04:00