93 Commits
Author SHA1 Message Date
hunterk f049089880 initial libretro-ization. Some things partial/nonexistent
fix linking, rename lib, prep for GB/C

get more consoles working. PCE still not there

fix PCE hucard loading; CD still broken

fix PCE CD loading and firmware. SGB still not quite there

get SGB working

add gitlab recipe for libretro buildbot
2026-08-29 10:21:13 -05:00
SourMesen ad0a1b9849 Lua: Misc. fixes & improvements (#250)
-Fixed getAccessCounters documentation (swapped param order)
-Fixed file watcher not being disabled properly when closing the script window, causing the script to run if changed on the disk, even if the script window is closed
-Prevent file watcher from triggering from writes done by the script window itself (which caused the script to be reloaded 2 or 3 times in a row)
-Fixed UI freezes when using emu.log() on a large table
-Fixed crash when 100k character limit (in the last 500 lines) for script log was reached (out of bounds read/write)
-Added "fps" value to "getState"
-Slightly improved getAccessCounters/getCdlData performance
-Added a new drawPixels API to improve performance when a script needs to draw a lot of individual pixels
2026-08-10 22:42:34 +09:00
SourMesen e055ddee35 SNES: Added deinterlacing options (#224) 2026-07-24 14:50:15 +09:00
SourMesen c660425d48 SNES: Added color correction options (#205) 2026-07-11 15:34:36 +09:00
SourMesen 6c54ae1989 Video: Support for VRR in borderless fullscreen (Windows only) and improved frame pacing (#178)
* Video: Add support for VRR when in borderless fullscreen mode (Windows only) and improve frame pacing

* Fixed debug stats not disappearing when unchecking option in some scenarios

* Changed frame pacing graph scale/logic to show the gap between the ideal pacing and the current pacing (within +/- 2ms)
2026-06-21 01:29:30 -07:00
SourMesen 27da83d457 CI: Automatically run recorded tests to validate PRs and commits (#151) 2026-05-30 05:20:34 -07:00
SourMesen 830ffc3b04 Video: Fixed "merge fields" issues (#129)
Phase should be 0 when this option is enabled, otherwise there's still jitter from one frame to another (though less obvious jitter)
Also made the GB/GBA/WS filters alternate between the 2 phases (SNES filter is used), which makes the colors look much better, even without merge fields enabled.
2026-05-19 00:02:25 -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 919e14faf6 UI: Fixed fade in/out effect on HUD messages 2024-11-20 20:00:35 +09:00
Sour c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +09:00
Sour 13acb3fe42 Added GBA support 2024-03-30 11:42:31 +09:00
Sour feace2609e UI: Fixed main window not refreshing properly on Windows 7 when no game is running
When render is not called, anything that goes over the directx window doesn't get redrawn properly on Win7
2024-02-29 16:37:58 +09:00
Sour 9af571cac8 Linux: Fixed video freezing after power cycle/reload rom 2024-01-11 17:51:28 +09:00
Sour c4743c3cc0 Video: Fixed HUD elements (i.e fps counter) temporarily not appearing properly after changing the overscan settings, etc. 2024-01-09 16:36:31 +09:00
Sour 7a2e410883 Debugger: PCE - Fixed crashes with Lua tutorial script due to the way overscan/resolution is handled for the PCE 2024-01-05 14:28:44 +09:00
Sour 5308983ebb Added SMS/GG/SG-1000 support 2023-12-14 22:23:27 +09:00
Sour af2afc4cf7 Reduced CPU usage for HUDs and when paused 2023-10-14 22:15:27 +09:00
Sour f358ddaabd Video: Added option to use the software renderer on all platforms 2023-09-29 18:08:57 +09:00
Sour a3aedd2f2a NES: HD Packs - Fixed crash when starting/stopping hd pack recorder 2023-06-30 16:01:24 +09:00
Sour 77acdab584 NES: Fixed phase for NTSC filters, allowing 3-phase pattern for Battletoads 2023-03-26 19:53:07 -04:00
Sour b98397feb0 UI: Changed default HUD size, added option to pick being old and new behavior 2023-02-21 20:28:07 -05:00
Sour 8fc8f62de2 History viewer: Fixed size being reset each time the window is opened 2023-02-20 20:39:17 -05:00
Sour 0488eb262b AVI: Allow changing resolution/sample rate until first frame is recorded
+ Fixed crash if resolution increases while recording to GIF
2023-02-17 19:56:55 -05: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 a9105f997e AVI: Prevent recording the "recording to..." message in the avi when the system hud is recorded 2023-02-15 22:48:23 -05:00
Sour 05495c7c1c SNES/PCE: Added option to force the cores to always output the same resolution
Changes the resolution for PCE games (resolution now matches the current game, rather than always being forced to 4x), which makes all filters work better than before. Enabling the fixed resolution option reverts to the old behavior.
On SNES, this forces the output to always be 2x scale, which prevents resolution changes when toggling high res mode on/off. This allows AVI recording to work when a game changes resolution while recording
2023-02-15 22:44:42 -05:00
Sour 6f99de0135 AVI: Added options to record system/input HUDs in AVIs 2023-02-15 00:28:39 -05:00
Sour 891ae70514 VideoRenderer: Fixed lock being released too early 2023-02-14 20:59:35 -05:00
Sour b44355339c Recorders: Display message/update UI correctly when recording is stopped automatically because resolution/sample rate changed 2023-02-13 22:28:59 -05:00
Sour 2085af03a7 NES: Fixed colors being slightly different than palette
Caused by the code used to apply brightness/etc. settings.  Disabled code when settings are at default values, and fixed rounding issue that caused the problem in the first place
2023-02-11 10:26:20 -05:00
Sour 7e8c5d52f9 UI: Added fast forward/rewind icons 2023-02-04 09:27:49 -05:00
Sour 81dc987f21 UI: Hide pause button when no game is loaded
Fixes pause button being visible when "pause when in bg" is enabled and the recent games selection dialog is disabled
2023-02-03 23:08:29 -05:00
Sour a276c1e96f Video: Fixed scanline effect not covering the entire frame 2023-02-03 19:20:31 -05:00
Sour 21ffa7a868 Video: Fixed flickering with software renderer when emulation is paused 2023-02-03 17:26:37 -05:00
Sour 63bac5d462 macOS: Replace SDL renderer with Avalonia
Avoids SDL-related issues until a better solution can be found
2023-02-02 21:33:48 -05:00
Sour 5f078091e0 HUD: Adjust HUD resolution based on aspect ratio to allow the text to be shown without any stretching 2023-01-28 21:56:27 -05:00
Sour 0d7e457dae Fixed/removed some TODOs 2023-01-06 11:10:24 +09:00
Sour e6b4d23f70 Rename TODOs that need to be fixed/checked before release to TODOv2 2023-01-05 14:07:08 +09:00
Sour e96d6f3ca5 NES: Added HD pack builder tool 2022-12-29 18:28:33 +09:00
Sour c4b6312c0a Refactoring - Added missing folder names in includes 2022-09-08 22:04:18 -04:00
Sour 152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour d7a8de8208 Removed unnecessary stdafx.h files 2022-09-08 21:15:56 -04:00
Sour 62c87ef67b UI: Keep HUD running when no game is loaded (improves behavior when game selection screen is turned off) 2022-08-21 13:31:30 -04:00
Sour 998bf9b52b Added History Viewer 2022-08-07 19:03:35 -04:00
Sour 991052f8bc Debugger: Lua - getDrawSurfaceSize api, added relative pos to getMouseState 2022-08-03 19:35:18 -04:00
Sour ec8e63c855 Debugger: Lua - Fixed missing BG color for spaces in DrawString 2022-08-03 00:05:31 -04:00
Sour 240e045f99 Debugger: Lua - Added selectDrawSurface API (+ Linux compilation fixes) 2022-08-02 23:25:41 -04:00
Sour 0e36b496b0 Debugger: Lua - Added measureString, added support for text wrapping in drawString 2022-08-01 20:48:06 -04:00
Sour 8d7f12efb9 Debugger: Lua - Performance fixes, naming fixes/changes 2022-07-31 19:41:57 -04:00
Sour 63622f0f93 Debugger: Lua - Fixed issues with get/setScreenBuffer 2022-07-30 19:56:43 -04:00