Commit Graph

2523 Commits

Author SHA1 Message Date
BearOso 0727b4a474 Gtk: Clean up Snes9xWindow a bit. 2024-09-15 14:35:23 -05:00
bearoso e06f1887d4
Merge pull request #950 from Thorarin/load-preview-fix
Fix load with preview file names and time stamps on extra banks
2024-09-15 10:18:26 -05:00
BearOso 9ed6f9d86b Screenshot: Don't use colon in filename. Use localtime
instead of localtime_r/s. Enable screenshots on Qt build.
2024-09-15 10:14:46 -05:00
Marcel Veldhuizen d5ba1c6017 Fix load with preview file names and time stamps on extra banks 2024-09-14 23:32:58 +02:00
BearOso 0c547f3486 Gtk/Wayland: Different workaround for Gtk damage bug.
Instead of completely shutting down the display driver, shrink the
subsurface when removing fullscreen so that when the parent window
sends events when it receives damage or is resized.
2024-09-12 14:21:03 -05:00
BearOso ea243051ed Save screenshot files with date for easier sorting. 2024-09-11 19:22:45 -05:00
BearOso ebd9df46ec Gtk: Avoid saving the size while fullscreening occurs. 2024-09-11 14:45:07 -05:00
BearOso 5449e2d3c5 vulkan: Fix compile errors reported in Issue #946. 2024-09-06 13:35:46 -05:00
BearOso 645a4712e7 vulkan: Remove waiting extensions.
I guess these aren't widely supported.
2024-09-05 18:09:11 -05:00
BearOso 15ae9de25b Qt/Vulkan: Don't try to draw black any more. 2024-09-05 16:10:06 -05:00
BearOso fb89cbf4c4 vulkan: Tidy a bit. 2024-09-05 16:07:37 -05:00
BearOso c8895c8cdb vulkan: Add support for VK_KHR_present_wait
May have a tighter CPU-GPU sync for lower latency.
2024-09-02 13:17:08 -05:00
BearOso 8559143576 Fix compile on Windows. 2024-08-10 18:03:55 -05:00
BearOso 1773782575 Move vulkan to common/video. 2024-08-10 17:41:47 -05:00
BearOso 9f7173f819 Move shaders directory into common/video/opengl. 2024-08-10 17:08:57 -05:00
BearOso 5c7847acbb Sort common OpenGL and Wayland files into folders. 2024-08-10 17:00:40 -05:00
BearOso 8b1d67397e Qt: Experiment with alternate widget while a game isn't running. 2024-08-02 18:10:03 -05:00
BearOso e92b93ca9c libretro: Clear SRAM after loading ROM. 2024-07-29 15:57:03 -05:00
BearOso 5d9f5b061b Qt: Output S9xMessage to console. 2024-07-29 15:57:03 -05:00
BearOso cc49a06c77 external: Update stb_image.h to reduce warnings 2024-07-29 15:57:03 -05:00
bearoso 4a20cfc024
Merge pull request #940 from lgv5/master
Gtk: Fix build on 32-bits systems.
2024-07-28 17:34:35 -05:00
Lucas Gabriel Vuotto bff02194a7 Gtk: Fix build on 32-bits systems. 2024-07-28 20:52:20 +00:00
BearOso 8a9b8cfcfd SA1: Change mapping type for banks 40->4f on SA1. 2024-07-26 15:12:58 -05:00
BearOso 881eeaed9a Update some version strings. 2024-07-14 14:31:51 -05:00
Michael Buckley 7c9c220931 macOS: Fix keyboard settings warning 2024-07-14 12:27:08 -07:00
Michael Buckley 43b6efb12b MacOS: Fix building in Xcode 15. 2024-07-14 11:38:55 -07:00
OV2 18096d9f68 imgui: add movie frame count and watches display (#167) 2024-07-14 02:20:47 +02:00
OV2 921f9f7b83 Update changes.txt 2024-07-07 13:48:47 +02:00
BearOso dcd279afe0 Update changes.txt. 2024-07-06 10:59:00 -05:00
BearOso d514d135a7 Gtk: Create config directory in get_config_dir if it doesn't exist. 2024-06-18 15:38:21 -05:00
BearOso ed3695f704 Gtk: Fix config directory order.
Search for XDG_CONFIG_HOME. If that exists, use
$XDG_CONFIG_HOME/snes9x, otherwise use $HOME/.config/snes9x.

Remove broken legacy check.
2024-06-18 15:35:05 -05:00
BearOso a9e64edf73 Vulkan/Win32: Fix compile error. 2024-06-13 16:50:12 -05:00
BearOso 008cbcd1a1 Vulkan: Simplify set_vsync. Remove relaxed fifo.
It looks like relaxed fifo tears when refresh rate doesn't
match because it always misses a refresh interval.
2024-06-13 16:17:36 -05:00
BearOso 3980a9d6d4 Vulkan: Fix inverted logic. 2024-06-13 15:56:04 -05:00
BearOso 5c78493f4e Vulkan: Add device wait back to swapchain recreation. 2024-06-13 14:39:36 -05:00
BearOso 33e40a8f16 Vulkan: Refactor present modes. Add relaxed. 2024-06-13 11:37:00 -05:00
BearOso 2e25b70cf0 Vulkan: Associate new fence with swapchain image, not frame resources. 2024-06-13 11:16:36 -05:00
BearOso 5949bbab97 Vulkan: Utilize VK_EXT_swapchain_maintenance1.
This is core in Vulkan 1.1.

We can now change vsync state without a new swapchain.

A fence is signaled when image is on screen, so we can possibly
be a little more precise with timing and avoid a whole device wait.
2024-06-12 16:54:13 -05:00
BearOso 99990af31e Vulkan: Don't use mailbox for vsync case. 2024-06-11 18:04:35 -05:00
BearOso c02ee4373e Vulkan: Refactor device acquisition for cleanness. 2024-06-11 16:07:38 -05:00
BearOso 4f1a2d9c29 Vulkan: Remove exception handler/old swapchain use.
Exceptions are now turned off anyway.
2024-06-11 16:06:30 -05:00
BearOso c7b77d4a76 Win32: Throttle frame rate on alternate interlaced frames. 2024-06-07 14:27:47 -05:00
OV2 a277d7f9e8 win32: properly save bank+/- hotkeys (fixes #925) 2024-05-26 17:06:20 +02:00
BearOso 55724eba1d Qt: Change browse button to "Open Folder" button when location isn't custom.
Enables quick access to the ROM directory or the config directory.
2024-05-25 12:04:58 -05:00
BearOso 794b4fdc72 Qt: Remove debug print from hat press. 2024-05-24 20:05:27 -05:00
BearOso 738e53989e Cheats: Retain enabled state when updating existing cheat.
Fix inverted logic in Qt cheat window.
2024-05-18 19:25:33 -05:00
BearOso 8f41776532 Qt: Hide software filter box.
May remove this in the future because it's unneeded with shaders.
2024-05-13 14:26:02 -05:00
BearOso c9b90655bd Qt/Windows: Match system color scheme.
Use windowsvista style for light, dark fusion scheme for dark.
2024-05-13 13:58:31 -05:00
BearOso cfabbd7f97 Qt: Prefer non-local config dir on Windows, and check for correct name. 2024-05-12 15:11:47 -05:00
OV2 911b416d28 win32: vulkan: apply vsync setting during init 2024-05-12 01:23:23 +02:00