Commit Graph

2492 Commits

Author SHA1 Message Date
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
OV2 f62eb40ac7 win32: skip framerate throttling in turbo mode (#853) 2024-05-12 01:20:34 +02:00
BearOso 6dd6f1945b Update version strings from 1.62.3 to 1.63. 2024-05-10 14:37:25 -05:00
OV2 d62f14212e win32: default new cheat val to current cheat val, show error on empty
new val (#918)
2024-05-10 00:29:19 +02:00
OV2 87f050feba win32: add cheat edit and search dialogs as hotkeys (#918) 2024-05-10 00:10:13 +02:00
OV2 bf83f0f605 win32: add hotkey to switch aspect ratio (#912) 2024-05-10 00:09:20 +02:00
OV2 ba6f67510e win32: fix warnings 2024-05-09 14:58:46 +02:00
OV2 be53955553 win32: allow multiselect in cheat dialog, handle delete and selection
(#916)
2024-05-08 16:53:11 +02:00
BearOso add607c38f Qt: Add save slot status info. 2024-05-07 14:27:28 -05:00
BearOso c476e4acdc Gtk: Show existence of save state on slot select. 2024-05-07 14:18:40 -05:00
BearOso bac6798141 Win32: Fix missing semicolon. 2024-05-07 14:06:33 -05:00
BearOso 73cb8014f1 Win32: Show whether save state exists when slot selected. 2024-05-07 14:01:59 -05:00
OV2 77f86ef4b6 win32: only deinint d3d imgui elements if they were initialized 2024-05-05 19:25:47 +02:00
BearOso 51b6528224 Vulkan: Fix a couple of unsigned/signed warnings. 2024-05-04 15:43:54 -05:00
BearOso c39e86c0c6 Qt: More built-in icons. 2024-05-04 15:38:29 -05:00
BearOso 771b0ffc37 Qt: Mouse fixes. 2024-05-01 16:09:44 -05:00
BearOso dcccf28bde Qt: Add mouse support. 2024-04-30 16:28:45 -05:00
BearOso f6f9cf09e1 CMakeFiles: Tweaks. 2024-04-30 14:39:07 -05:00
Sneed 2bb7723220 boot 4mb superfx roms 2024-04-28 08:26:06 -05:00
BearOso fdcff015dc CPU: Stop emulation if CPU is deadlocked. 2024-04-27 17:44:21 -05:00
BearOso 986dd2a061 SuperFX: Allow execution from ROM in higher banks. 2024-04-27 16:59:11 -05:00
BearOso 65ef81ca2d SuperFX: Attempt to fix execution bank check against SCMR. 2024-04-27 16:46:05 -05:00
bearoso 0a527f3adc
Merge pull request #906 from pstef/update-minizip
Update minizip to version 1.1
2024-04-27 11:11:53 -05:00
pstef 496d2f0020
Merge branch 'snes9xgit:master' into update-minizip 2024-04-26 13:55:37 +02:00
BearOso af4ec50b16 SuperFX: Run when any bit of SCMR is set. 2024-04-25 15:49:56 -05:00
BearOso 582128bce7 Qt: Implement Swap Controller 1 & 2 2024-04-22 15:58:35 -05:00
BearOso 98cac16b46 Qt: Allow changing controller ports. No mouse yet. 2024-04-22 15:58:35 -05:00
bearoso 8077396d39
Merge pull request #914 from bernborgess/fix-vulkan-semicolon
Vulkan: Fixed semicolon in vulcan_context.cpp
2024-04-20 09:46:53 -05:00
bernborgess 3c09b1ea63 Fixed semicolon in vulcan_context.cpp 2024-04-20 09:23:21 -03:00
BearOso bb905521df Vulkan: Simplify some code. 2024-04-19 16:29:09 -05:00
BearOso 0ae69cd518 Qt: Update paths before loading game. 2024-04-18 14:37:55 -05:00
BearOso 8750a9ec26 Vulkan: Silence some warnings. 2024-04-17 17:12:51 -05:00