Commit graph

51 commits

Author SHA1 Message Date
Sour
a2637ef2d4 Debugger: Fixed labels getting erased when spamming reload rom shortcut 2025-03-24 22:02:15 +09:00
Sour
8d190963da UI: Linux - Tweak previous fix for menu focus to make it work correctly in some rarer scenarios 2025-03-02 10:51:53 +09:00
Sour
bd970ac08f UI: Fixed menu being focused by default when launching a game from the command line 2025-03-02 09:51:52 +09:00
Sour
ea7aa40265 UI: Prevent window from being auto-resized to a scale below 1x 2025-02-11 21:15:59 +09:00
Sour
4052eccbc8 Debugger: Allow opening scripts from the command line while the emulator is already running, but skip scripts that are already opened in the emulator 2025-01-20 17:03:23 +09:00
Sour
b3fd15963b UI: Try to better recover from unexpected errors while opening the main window 2025-01-05 11:04:32 +09:00
Sour
ea657c1898 UI: Call EmuApi.Release() before the main window closes
This seems to fix deadlocks (join on VideoRenderer thread never finished) in some scenarios when closing the emulator using the "Exit" shortcut (only seen on Linux)
2025-01-05 10:46:47 +09:00
Sour
18269da46b SNES: Add support for Sufami Turbo games 2025-01-03 09:18:59 +09:00
Sour
8dda623a1f UI: Focus game selection screen on startup
+Try to avoid menu getting stuck with focus
+Improve keyboard/gamepad navigation for it
+Make selected game a bit easier to see
2024-12-26 16:09:17 +09:00
Sour
c956eea0ba UI: Fixed unexpected screen cropping when window width is reduced
The screen's height should be reduced to fit the window, instead.  Caused by changes done recently to fix some rounding errors with screen/window sizing
2024-11-24 11:34:27 +09:00
Sour
cebdab9b5d UI: Fixed keyboard focus being on menu when opening emulator via file associations 2024-11-20 20:01:45 +09:00
Sour
7b84a75fac UI: Fixed window size rounding issues when setting video scale 2024-11-11 14:28:54 +09:00
Sour
a2dd107f13 UI: Don't send keys to game when focus is in the menu 2024-09-29 18:28:40 +09:00
Sour
c5406773a0 Added WonderSwan support 2024-09-19 21:19:43 +09:00
Sour
ba63112604 UI: Added console-specific options for video filter & aspect ratio settings 2024-07-28 21:21:01 +09:00
Sour
83c0c5e9e8 Video: Fixed resolution/size issues when entering exclusive fullscreen mode 2024-07-15 11:45:44 +09:00
Sour
bdbcf4e221 Input: Only apply recent KeyUp processing changes to keys that cause the original issue
Some typical scenarios can cause KeyUp only on regular keys, which can be annoying (e.g pressing Esc to exit a configuration dialog ends up toggling pause)
2024-07-14 20:28:29 +09:00
Sour
0996b95145 Input: Workaround some issues with some keys not being usable/bindable as shortcuts (e.g Print Screen) 2024-07-10 18:35:58 +09:00
Sour
d208fdc6a7 UI: Support for NativeAOT
Added Windows & Linux builds using AOT compilation
2024-06-05 20:23:31 +09:00
Angelo
d82cd8a2c4
UI: Move mouse handling to core and add MacOS mouse support (#55) 2024-05-24 16:31:44 +09:00
Sour
746d280d69 UI: Fixed resolution changing by mistake when in fullscreen mode if a game changed it's internal resolution
Caused screen size to change, e.g on SNES when games mistakenly enable interlace/hires for a short amount of time, causing the internal resolution to double for a single frame (e.g CT at the start of battles)
2024-03-10 23:10:49 +09:00
Sour
4745bab5e4 GB: Fixed read behavior for FEA0-FEFF when DMA is running 2024-01-24 22:21:15 +09:00
Sour
7569f58b4a GB: Fixed power on state for OAM DMA register 2024-01-23 22:26:01 +09:00
Angelo
e00e669334
MacOS: Handle keyboard outside of Avalonia (#38) 2024-01-16 20:45:00 +09:00
Sour
4b81e8bce0 UI: Display error messages when command line arguments/files are invalid/not found 2023-12-17 12:39:53 +09:00
Sour
5308983ebb Added SMS/GG/SG-1000 support 2023-12-14 22:23: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
3e36c3949e UI: Upgrade to Avalonia 11 release 2023-07-08 14:14:31 +09:00
Sour
600d4bf5b2 UI: Revert to Avalonia 11-preview8
AvaloniaEdit is broken in RC1 and there appears to be some keyboard focus issues on Linux

This reverts commit b90ffc7788.
2023-06-30 10:25:03 +09:00
Sour
b90ffc7788 UI: Update to Avalonia 11 RC 1.1 2023-06-10 21:24:43 +09:00
Sour
e2f6404c10 UI: Upgrade to Avalonia11-preview8 2023-05-26 14:58:17 +09:00
Sour
716227c0a7 UI: Update to Avalonia11-preview6
Notes:
-Uses a copy of VirtualizingStackPanel (to include fixes done after preview6) + fix another issue in lists
-Fixes memory leaks when closing windows (by setting DataContext to null, etc.)
2023-04-10 22:59:48 -04:00
Sour
019b46aabb UI: Fixed renderer not resizing properly when swapping between audio files and regular roms 2023-03-21 20:57:35 -04:00
Sour
eecd92e8a9 UI: Use closest scale that matches the current window size when starting a game that changes the resolution
Makes it less annoying when switching from e.g nes to gb or vice versa, and prevents window shrinking when opening a GB game after launching the emulator
2023-03-13 18:45:23 -04:00
Sour
afa7727504 UI: Changed OS checks to use simpler code 2023-03-13 00:32:16 -04:00
Sour
26cb4df679 UI: Fixed window size not being restored properly when leaving exclusive fullscreen mode 2023-03-06 21:22:16 -05:00
Sour
c832e0c619 UI: Fixed blank setup wizard/window on first run due to default fonts not being initialized correctly 2023-03-06 17:57:08 -05:00
Sour
64d6d53830 UI: Fixed load/save state dialogs not being usable when "pause in menus" is active 2023-02-20 20:39:17 -05:00
Sour
f1634642fd Video: Fixed renderer size issues caused by rounding errors when multiplying by aspect ratio 2023-02-13 22:07:36 -05:00
elzo-d
afb48e313f
macOS: Prevent alert sound on keypresses (#8) 2023-02-12 09:58:11 -05:00
Sour
fbc286b1c4 UI: Fixed selected scale option/displayed resolution in title bar when DPI > 100% 2023-02-11 11:33:19 -05:00
Sour
a04b75b2ea Video: Fixed incorrect internal resolution for the renderer when DPI > 100% 2023-02-10 18:21:40 -05:00
Sour
1f16549cc2 UI: Upgrade to Avalonia 11.0.0-preview5 2023-02-07 00:16:17 -05:00
Sour
37b271acf6 History viewer: Added support for software renderer (for macOS) 2023-02-04 13:23:58 -05:00
Sour
d70bade5c8 UI: Refactor window sizing logic
Same code for software vs hardware renderers + works correctly for high DPI modes in history viewer, etc.
2023-02-04 12:11:59 -05:00
Sour
5f03617b06 UI: Apply integer scale option when maximizing
Also fixed issue when turning fullscreen (f11) mode on/off while the window is maximized (window would keep size but switch to "normal" state)
2023-02-04 10:48:01 -05:00
Sour
b91f28fe8c UI: Prevent crash that could occur when game was loaded before last part of initialization was done 2023-02-03 22:39:03 -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
3487a55c96 UI: Fixed incorrect menus/etc. when power cycle changes the console type (e.g GB->SGB) because settings were changed 2023-01-29 23:10:04 -05:00
Sour
62fc38169b Command line: Allow sending/processing config changes via the command line 2023-01-29 18:59:46 -05:00