134 Commits

Author SHA1 Message Date
Henrik Rydgård 8b0ddf88fe Qt buildfix, gitignore in ext 2026-06-16 11:49:40 +02:00
Henrik Rydgård 494ac1e0fe Another buildfix attempt 2026-06-16 11:44:44 +02:00
Henrik Rydgård 51c3058cf6 Replace "ForceFullScreen" with a way to prevent specific settings from being saved. 2026-02-02 09:25:49 +01:00
Henrik Rydgård 18a67b82d2 Do the same with KeyInputFlags. Fix minor UI misalignments 2025-12-19 13:41:58 +01:00
Henrik Rydgård 481d0fd18c Switch TouchInputFlags to enum class, fix some minor UI issues
Scroll views now only wheel-scroll if the mouse is hovering over them.
2025-12-19 11:38:56 +01:00
Henrik Rydgård 6d1973edfb Add banners on the top of settings pages, if editing game-specific settings show the icon. 2025-11-09 08:51:41 +01:00
Henrik Rydgård 9218fe9b59 Rework the shutdown logic in the OpenGL backend. Eliminated race conditions. 2025-08-31 10:57:06 +02:00
Henrik Rydgård 0502d79c99 Remove the return value from NativeMix, correct mixing with other channel numbers than 2 2025-06-18 23:48:00 +02:00
Henrik Rydgård 61d6c95f0c More refactoring. Add the AudioBackend interface 2025-06-16 21:55:32 +02:00
Henrik Rydgård 990b74cc17 More audio refactoring 2025-06-16 18:48:53 +02:00
Henrik Rydgård 09e067c6e1 Revert "Get rid of remains of support for non-square screen DPIs"
This reverts commit f206ed95eb.
2025-05-21 21:41:50 +02:00
Henrik Rydgård 486370852f Restrict SDL audio buffer setting to 128, 256, 512, 1024, 2048. UI improvmeents 2025-04-15 19:26:26 +02:00
Jamie Bainbridge 3d0ef8c6e1 SDL audio: Add config slider for audio samples
As described on Issue #12705 several users have problems with audio
popping, crackling, and distorion with different sample values.

Previous commit ece6edf reduced default samples from 1024 to 256 but
there does not seem to be an ideal value for all platforms.

Make the option configurable in Audio Backend Settings.

Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
2025-04-15 18:18:42 +02:00
Henrik Rydgård e70dd3b2df Break out AtracTrack into its own file. Add a little atrac analysis tool to ImDebugger (for future use) 2025-03-19 16:15:51 +01:00
Henrik Rydgård 7ee999e424 Qt: Don't forget the mouse flags 2025-03-05 23:26:30 +01:00
Henrik Rydgård 1a1483478a Fix live resizing, implement setting on all platforms. 2025-02-20 17:14:59 -06:00
Henrik Rydgård e791e31528 Update the undermaintained Qt port to use the new DPI Recalculate 2025-02-20 15:47:06 -06:00
Henrik Rydgård 91360fee9b Have Native_UpdateScreenScale use the new g_display.Recalculate() 2025-02-20 15:47:02 -06:00
Henrik Rydgård 23f43dd9fa DPI code cleanup 2025-02-20 15:47:02 -06:00
Henrik Rydgård f206ed95eb Get rid of remains of support for non-square screen DPIs 2025-02-20 11:14:26 -06:00
Henrik Rydgård ab51c2a13b Fix enabling logs 2024-12-16 12:48:48 +01:00
Henrik Rydgård 2b8414b437 Move irrelevant code out of Core.cpp 2024-12-02 13:26:41 +01:00
Henrik Rydgård e6ae256da8 Fix regression with Debug->Stop (Ctrl+W). Delete some duplicate code. 2024-11-29 17:18:34 +01:00
Henrik Rydgård 758faac445 Be more consistent about thread naming 2024-11-05 12:53:21 +01:00
Henrik Rydgård d6b4a76e98 Add Copy button for calculated CRCs on game info screen 2024-09-02 22:48:47 +02:00
Henrik Rydgård 96c4ae4457 TimeUtil: Minor cleanup, add precise_sleep() 2024-07-26 11:25:58 +02:00
Henrik Rydgård e01ca5b057 Logging API change (refactor) (#19324)
* Rename LogType to Log

* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.

* Mac/ARM64 buildfix

* Do the same with the hle result log macros

* Rename the log names to mixed case while at it.

* iOS buildfix

* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård 862fb951f1 Add support for loading mp3 files as UI sound.
Fixes #18136
2024-04-09 19:15:49 +02:00
Henrik Rydgård 616ee81f84 Add another parameter to the internal "request" framework. 2024-04-06 12:04:45 +02:00
Henrik Rydgård 5a8140c301 Initialize RAIntegration support if available. Untested. 2024-04-05 18:15:10 +02:00
Henrik Rydgård c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård 8faba8426a AdrenoTools: Fix picking zip files from the Downloads folder. Add more validation. 2024-01-15 11:46:41 +01:00
Henrik Rydgård 9c9fe8bf8f Add string_view functionality to the core utf-8 parsing code 2024-01-12 14:03:02 +01:00
Henrik Rydgård 19e4de5088 Change global UI messages to use an enum instead of strings.
Makes it easier to add new ones and delete outdated ones without missing
any uses.
2023-09-30 11:37:02 +02:00
Henrik Rydgård ade64171ce Proof-of-concept: libchdr works on Windows 2023-09-29 10:05:19 +02:00
Henrik Rydgård c28dc9e4f2 Pass in accelerometer readings using NativeAccelerometer instead of NativeAxis 2023-09-27 11:34:31 +02:00
Henrik Rydgård 80a99a67d9 Control: Change internal interfaces to batch-process input axis updates
These naturally come in bunches on many platforms like Android, so lay
some groundwork to also handle them in bunches to minimize locking in
the future.

Linux buildfix
2023-08-31 11:55:53 +02:00
Henrik Rydgård 60492ae579 Make System_ShowFileInFolder a "request"
Also makes support queryable.

Lets us remove the dummy implementations.
2023-08-24 14:22:35 +02:00
Henrik Rydgård 0477ba8c78 Core.cpp: Some slight simplifications 2023-08-10 17:15:56 +02:00
Henrik Rydgård 85f5136a81 Add a GetProperty query for the git version 2023-07-20 10:57:52 +02:00
Henrik Rydgård 2537f76277 UI: Add a basic FileChooserChoice view 2023-07-16 12:14:40 +02:00
Henrik Rydgård 84fffec4f3 Switch all NativeMessageReceived to System_PostUIMessage 2023-07-06 17:26:02 +02:00
Henrik Rydgård 38f174eab4 Add query for system text input 2023-06-22 08:58:30 +02:00
Henrik Rydgård 2675d6ea43 Input event and device enums (#17514)
* Switch deviceID from int to enum InputDeviceID, globally

* Switch axisId to enum InputAxis

* Change int keycodes to InputKeyCode where it makes sense.

* SDL input buildfix

* SDL keycode buildfix

* Switch on enum warning fixes

* Qt keycode buildfix

* iOS keycode buildfix

* UWP keycode buildfix

* More iOS buildfix

* More iOS buildfix

* Update DinputDevice.cpp
2023-05-26 18:40:13 +02:00
Unknown W. Brackets c03501c506 Qt: Buildfix with SDL disabled. 2023-05-04 19:18:58 -07:00
Henrik Rydgård 42efc08e64 Couple buildfixes after the g_display refactoring
Should help #17250
2023-04-08 09:25:16 +02:00
Henrik Rydgård 38f4cc4cc9 Make reverse mapping lookup work for the simple PSP buttons. 2023-03-31 11:05:29 +02:00
Unknown W. Brackets 441c940fa9 UI: Remove some unnecessary Host.h includes. 2023-03-25 17:19:21 -07:00
Henrik Rydgård d586ec0d5e Don't create Host objects except in headless/unittest 2023-03-25 10:47:01 +01:00
Henrik Rydgård 143f499d11 Remove a few of the Host implementations 2023-03-25 10:37:49 +01:00