Commit Graph

684 Commits

Author SHA1 Message Date
BearOso b33f2afb33 Gtk: Fix cheat window locking up when newly loaded game has fewer cheats. 2025-08-11 20:37:16 -05:00
BearOso 033a23fe80 Gtk: Rework base idle and timeouts.
This should prevent starvation that caused some lockups.
2025-06-12 16:28:30 -05:00
BearOso c09277bae8 Gtk: Work around Gtk including frames in window size on Wayland. 2025-06-12 16:28:30 -05:00
BearOso d65a2b31a0 Clean up many nits found by linter. 2025-06-12 16:28:30 -05:00
BearOso 1b0e59a36f Gtk/Cheats: Show dialog box when successful adding codes. 2025-05-03 11:35:05 -05:00
BearOso e53e2b43e6 Vulkan: Update headers and vk_mem_alloc. 2025-05-03 11:15:42 -05:00
Daniel Nylander 43d01935a9
Update sv.po 2025-02-09 08:41:54 +01:00
Daniel Nylander db1b823558
Add files via upload 2025-02-09 08:39:58 +01:00
Daniel Nylander 0a567bd4fc
Add files via upload 2025-02-08 19:43:42 +01:00
Daniel Nylander e3af507c5b
Add files via upload 2025-02-08 19:08:32 +01:00
Daniel Nylander 72922ce708
Adding Swedish translation 2025-02-08 18:09:59 +01:00
BearOso 663738341a qt,gtk/vulkan: Add VK_EXT_present_wait support again. 2025-01-24 15:55:41 -06:00
BearOso 2ffc66c33c Gtk/Wayland: Only allow one pause state change per focus change.
Check whether we've already paused for it.

Gtk/Wayland sends multiple focus_notify events with the same
state, even when it doesn't change. This occurs when popup
menus are opened and closed.
2024-12-09 15:32:34 -06:00
BearOso 0e309e5c7c Gtk/Qt/Vulkan: Don't set vsync before swapping.
This destroys the swapchain.
2024-12-06 15:10:54 -06:00
BearOso f6a46f5831 Clean up unused headers. 2024-10-22 14:58:50 -05:00
BearOso 932b093d98 Gtk/OpenGL: Fix context resize broken in is_x11/is_wayland change. 2024-10-20 19:30:15 -05:00
BearOso 79f6e911f3 Vulkan: Use helper for image transitions. 2024-10-17 15:15:21 -05:00
BearOso 71f2ba2d7e Gtk: Confused is_wayland/is_x11. 2024-10-16 13:18:19 -05:00
BearOso 5b1f20ec52 Gtk: Use is_x11 function. 2024-10-14 20:45:44 -05:00
BearOso 1fc9f26522 Gtk: Fix refresh rate detection break. 2024-10-14 10:16:05 -05:00
BearOso 0c228f0e0c Gtk: Use a Wayland check function. 2024-10-12 17:06:07 -05:00
BearOso b19e31c83f Gtk: Get Superscope working. 2024-10-12 17:05:26 -05:00
BearOso 13824a6ef4 Vulkan: Allocate swapchain on context create. 2024-10-07 14:43:52 -05:00
BearOso febcf27482 Vulkan: Separate context, surface, and swapchain. 2024-10-03 11:19:42 -05:00
BearOso 0727b4a474 Gtk: Clean up Snes9xWindow a bit. 2024-09-15 14:35:23 -05: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 ebd9df46ec Gtk: Avoid saving the size while fullscreening occurs. 2024-09-11 14:45:07 -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
Lucas Gabriel Vuotto bff02194a7 Gtk: Fix build on 32-bits systems. 2024-07-28 20:52:20 +00: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 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 6dd6f1945b Update version strings from 1.62.3 to 1.63. 2024-05-10 14:37:25 -05:00
BearOso c476e4acdc Gtk: Show existence of save state on slot select. 2024-05-07 14:18:40 -05:00
BearOso f6f9cf09e1 CMakeFiles: Tweaks. 2024-04-30 14:39:07 -05:00
BearOso bb905521df Vulkan: Simplify some code. 2024-04-19 16:29:09 -05:00
BearOso 3d5e412fb5 Vulkan-Hpp: Fix VULKAN_HPP_NO_NODISCARD_WARNINGS. 2024-04-13 13:49:48 -05:00
BearOso 46c6bd7eb4 Vulkan-Hpp: Don't use exceptions. 2024-04-12 18:47:16 -05:00
StanleyKid-22 4336892724
Updated Ukrainian translation 2024-02-14 15:47:32 +02:00
StanleyKid-22 7b7f126f5e
Merge branch 'snes9xgit:master' into master 2024-02-14 15:44:58 +02:00
BearOso be6372c034 Gtk/Wayland: Disable display driver during unfullscreening.
Gtk incorrectly doesn't resize widgets beneath a subsurface.
2024-02-08 12:49:12 -06:00
StanleyKid-22 0aad83b35e
Update Ukrainian translation
Hotfix for 2 strings.
2024-01-28 12:30:54 +02:00
StanleyKid-22 1785bb4467
Updated Ukrainian translation
Updated to actual project version 1.62.3.
2024-01-27 20:27:04 +02:00
BearOso f0001ab428 Wayland: Reorder resizing operations
Ensure a buffer is in place before calling viewporter.
2024-01-09 10:31:49 -06:00
bearoso 97291767b8
Merge pull request #886 from alarixnia/dlopen
gtk: Use CMAKE_DL_LIBS
2023-11-19 17:57:15 -06:00
nia 5fb99b7ad6 gtk: Use CMAKE_DL_LIBS
Fixes building snes9x-gtk on systems where dlopen is in libc
and without an empty libdl stub.
2023-11-20 00:13:18 +01:00
Jake Smarter 38c28e1f9c Add de l10n 2023-11-18 19:28:18 +01:00
Jake Smarter 665ddf86f2 * Add plurals
* Drop proper names from l10n
* Add string parameter numbers for correct l10n freedom
* Update POT file
* Update pl l10n based on new POT file
* Add locale specific number formatting where applicable
* Make use of Glib’s logging facility
2023-10-30 15:46:21 +01:00