Commit Graph

2591 Commits

Author SHA1 Message Date
BearOso 68acd5bfa3 qt: Fix conversion of hat state to button presses.
old_state was never updated. Also, multiple events can be generated with the
conversion from analog to discrete events, so change the outputs to a vector.
2025-07-03 11:32:40 -05:00
BearOso a168e78971 libretro/win32: Add stdcpp17 to compile flags for msvc. 2025-06-18 10:43:28 -05:00
BearOso a93dd67c51 Qt/win32: Fix compiling opengl driver. 2025-06-13 20:15:53 -05:00
BearOso 84e72a4025 snes_ntsc: Just revert changes. 2025-06-12 17:52:24 -05:00
BearOso 61d48e3417 snes_ntsc: Use constexpr instead of enums. 2025-06-12 17:48:34 -05:00
BearOso ddc2014bba win32: Try another fix for string. 2025-06-12 17:04:03 -05:00
BearOso d3a1c3a6f3 win32: Change parameter back to regular string. 2025-06-12 16:40:26 -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 366cde5cd3 Qt: More Cleanups. 2025-06-12 16:28:30 -05:00
BearOso acb821e367 qt: Clean up. 2025-06-12 16:28:30 -05:00
BearOso 819e1740fb qt: Clean up Snes9xController 2025-06-12 16:28:30 -05:00
BearOso 2a0a9d0454 qt: Clean up EmuConfig a bit. 2025-06-12 16:28:30 -05:00
BearOso 8973d9a60f qt: Clean up SDLInputManager 2025-06-12 16:28:30 -05:00
BearOso f3a1af007f bml: Modernize and optimize. 2025-06-12 16:28:30 -05:00
BearOso 97bc6b08b1 Win32: Update for new glslang. 2025-05-03 11:57:22 -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
BearOso ce6aaf5ce8 Wayland: Simplify WaylandSurface a bit. 2025-05-03 11:15:42 -05:00
OV2 2c78e77617 win32: fix selection in cheat dialog (#976) 2025-04-06 22:56:07 +02:00
bearoso 0525ea043e
Merge pull request #969 from yeager/master
Adding Swedish translation
2025-02-24 18:12:29 -06: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 191cdf462a vulkan/wayland: Use mailbox present mode.
FIFO can stall when other windows obscure the main window.
2025-01-24 13:33:59 -06:00
BearOso 5df649d49a Qt: Use SDL 3.2.0 tag. 2025-01-21 16:38:16 -06:00
bearoso 48fe934463
Merge pull request #967 from gilchavezm/patch-3
Qt: Update EmuApplication.cpp: handle Quit binding
2024-12-17 20:25:35 -06:00
Gilberto Chavez-Martinez 6794f51461
Update EmuApplication.cpp: handle Quit binding
Added handling of binding for Quit.
2024-12-17 19:24:07 -05:00
BearOso b83f789343 sdl3/audio: Don't double the buffer size requested. 2024-12-13 20:06:07 -06:00
BearOso 1dbfd2e141 Qt: Use FetchContent for SDL3 on Windows or if not found. 2024-12-13 19:47:15 -06:00
BearOso 73b71c865b Qt: Allow building on unix without SDL video support. 2024-12-13 19:12:54 -06:00
BearOso 959da2aa04 Qt: Free bindings. 2024-12-13 19:08:09 -06:00
BearOso 03ec60cfda Qt: Fix up SDL3 button binding. 2024-12-13 19:04:56 -06:00
BearOso fa94c74b84 common/audio/sdl3: Use a mutex for buffer accesses. 2024-12-13 17:23:20 -06:00
BearOso 56e58cdf99 Qt: Switch to SDL3 for audio and input.
SDL3 is not a submodule in the git tree yet, so as to not cause
an extra checkout for the other ports. It will eventually go in
external/SDL.
2024-12-13 17:14:34 -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 9be3ed49a8 Qt/Vulkan: Don't show canvas before embedding.
It would briefly pop up as a new window.
2024-12-08 15:56:09 -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 a7d59843da Qt: Adapt to 6.8 changes for Wayland.
Remove parent stackwidget. Don't set native properties for the render,
widget because they apply to the main window instead. Subsurfaces
don't need that anyway.
2024-12-06 14:58:22 -06:00
BearOso fd05ca7df5 Qt: Show paths in native format on Win32. 2024-10-28 17:32:29 -05:00
BearOso 81f189cf57 Qt: Fix build on Windows. 2024-10-28 17:07:10 -05:00
BearOso b5d9217881 Win32: Don't build fmtlib.
Windows port doesn't use it.
2024-10-26 20:29:21 -05:00
BearOso e6c4f617cc Vulkan: Move descriptor pool out of context. 2024-10-26 20:26:47 -05:00
BearOso 20768ed8b2 Remove accidental commit of xbrz. 2024-10-25 18:58:49 -05:00
BearOso 8a33829bce external: Update fmtlib. 2024-10-25 18:54:14 -05:00
BearOso f6a46f5831 Clean up unused headers. 2024-10-22 14:58:50 -05:00