Commit Graph

4531 Commits

Author SHA1 Message Date
Henrik Rydgård
7e6ef060c6 Small UI event processing optimization. Helps debugging more than performance. 2024-10-25 21:08:01 +02:00
Henrik Rydgård
7d24fca4e2 Crashfix when switching buffered/non-buffered with the game running 2024-10-25 12:00:28 +02:00
Henrik Rydgård
abe27dcb64 Reset tint/saturation on theme change
As requested in #18802
2024-10-23 15:30:33 +02:00
Henrik Rydgård
671ba6356b Remove logspam from Android text rendering, oops 2024-10-23 15:07:27 +02:00
Henrik Rydgård
a0e9017c77 Delete obsolete checks for pre-v7a armeabi 2024-10-23 13:23:35 +02:00
Henrik Rydgård
7e952ab795 Delete unused code, fix a comment. 2024-10-23 10:55:46 +02:00
Henrik Rydgård
a545d3074f Do some renaming, dedupe some strings (old commit resurrected), add an assert 2024-10-22 22:28:06 +02:00
Henrik Rydgård
f54d701a2e Decentralize the assert for AllocateAlignedMemory failures 2024-10-22 21:49:50 +02:00
Henrik Rydgård
85410305e6 Fix/hack some color issues with the 1995 theme 2024-10-22 21:26:29 +02:00
Henrik Rydgård
3a4b27b086 Fix some more presentation issues 2024-10-22 12:29:32 +02:00
Henrik Rydgård
a859b2223a Shorten the version display on the main screen 2024-10-22 11:58:50 +02:00
Henrik Rydgård
26de955c77 Warning fixes, add warning to Cave Story if skip buffer effects is on 2024-10-22 11:56:08 +02:00
Henrik Rydgård
99f7946471 Vulkan GraphicsPipeline: Fix an old and likely very rare race condition. 2024-10-22 11:02:26 +02:00
Henrik Rydgård
a6a189c24d An old version of android had strict JNI validation of UTF-8 strings enabled. Let's pass it. 2024-10-22 11:02:26 +02:00
Henrik Rydgård
843fe22968 Remove superfluous .c_str() 2024-10-17 22:21:07 +02:00
Henrik Rydgård
97c5094ff2 Cleanup, fix the shader viewer UI 2024-10-17 21:43:03 +02:00
Henrik Rydgård
858f37b8fc Add a couple of asserts (to make things error out earlier) 2024-10-17 21:01:58 +02:00
Henrik Rydgård
e49d94ad11 Unify the MeasureString caching code 2024-10-16 14:39:21 +02:00
Henrik Rydgård
3def2ddb00 Avoid another allocation, this time with atlas fonts 2024-10-16 14:39:21 +02:00
Henrik Rydgård
ce980af01e TextDrawer: Improve performance for text wrapping (by measuring without wrapping first) 2024-10-16 13:35:32 +02:00
Henrik Rydgård
2c283fbb07 Minor cleanups, crashfixes 2024-10-14 23:57:19 +02:00
Henrik Rydgård
e1527233d9 Add the EmuScreen pass assert on OpenGL as well 2024-10-14 14:35:35 +02:00
Henrik Rydgård
e39153d622
Merge pull request #19523 from hrydgard/even-more-fixes
Some checks are pending
Build / build-windows (ARM64) (push) Waiting to run
Build / build-windows (x64) (push) Waiting to run
Build / build-uwp (push) Waiting to run
Build / test-windows (push) Blocked by required conditions
Build / build (./b.sh --headless --unittest --fat --no-png --no-sdl2, clang, clang++, test, macos, macos-latest) (push) Waiting to run
Build / build (./b.sh --headless --unittest, clang, clang++, test, clang-normal, ubuntu-latest) (push) Waiting to run
Build / build (./b.sh --headless --unittest, gcc, g++, gcc-normal, ubuntu-latest) (push) Waiting to run
Build / build (./b.sh --ios, clang, clang++, ios, ios, macos-latest) (push) Waiting to run
Build / build (./b.sh --libretro_android ppsspp_libretro, clang, clang++, android, android-libretro, ubuntu-latest) (push) Waiting to run
Build / build (./b.sh --qt, gcc, g++, qt, qt, ubuntu-latest) (push) Waiting to run
Build / build (cd android && ./ab.sh -j2 APP_ABI=arm64-v8a OPENXR=1, clang, clang++, android, android-vr, ubuntu-latest) (push) Waiting to run
Build / build (cd android && ./ab.sh -j2 APP_ABI=arm64-v8a UNITTEST=1 HEADLESS=1, clang, clang++, android, android-arm64, ubuntu-latest) (push) Waiting to run
Build / build (cd android && ./ab.sh -j2 APP_ABI=armeabi-v7a UNITTEST=1 HEADLESS=1, clang, clang++, android, android-arm32, ubuntu-latest) (push) Waiting to run
Build / build (cd android && ./ab.sh -j2 APP_ABI=x86_64 UNITTEST=1 HEADLESS=1, clang, clang++, android, android-x86_64, ubuntu-latest) (push) Waiting to run
Build / build (make -C libretro -f Makefile -j2, clang, clang++, libretro, clang-libretro, ubuntu-latest) (push) Waiting to run
Build / build (make -C libretro -f Makefile -j2, gcc, g++, libretro, gcc-libretro, ubuntu-latest) (push) Waiting to run
Build / test (macos-latest) (push) Blocked by required conditions
Build / test (ubuntu-latest) (push) Blocked by required conditions
Build / build_test_headless_alpine (push) Waiting to run
Generate Docker Layer / build (push) Waiting to run
Even more fixes
2024-10-14 10:18:50 +02:00
oltolm
f429a257af d3d9: fix bug introduced in "use ComPtr for D3D9" 2024-10-13 21:45:40 +02:00
oltolm
3a285bbd2f d3d9: refactor CompileShaderToByteCodeD3D9 2024-10-13 21:45:39 +02:00
Henrik Rydgård
8a5be21140 MemStick screen: Call free_disk_space from async tasks
See #19522
2024-10-11 13:45:43 +02:00
Henrik Rydgård
f1cbf1ba96 Android TextRenderer: Add try {} around loading the Roboto font. Also improve an unrelated assert. 2024-10-10 16:01:00 +02:00
Henrik Rydgård
1ac580b726 Buffer::Printf: Properly check for encoding failure 2024-10-10 16:01:00 +02:00
Henrik Rydgård
e51c58716b Fix minor code issues flagged by PVS-Studio and reported by alphrixus. 2024-10-10 14:10:30 +02:00
Henrik Rydgård
9c5cda3487 Buildfix 2024-10-10 12:19:53 +02:00
Henrik Rydgård
4d6905672e Bunch more linting 2024-10-10 11:57:10 +02:00
Henrik Rydgård
e0c12c9547 More lint warning fixes 2024-10-10 10:52:45 +02:00
Henrik Rydgård
21c6594961 Fix a bunch of Android Studio lint warnings 2024-10-10 10:24:40 +02:00
Henrik Rydgård
8d380e260a Fix a wrong assert 2024-10-03 16:52:34 +02:00
Henrik Rydgård
cb06ac4af2 MacOS: Fix text input (got broken in #19441, would no longer send CHAR events)
See #19441
2024-10-02 16:21:53 +02:00
Henrik Rydgård
1b158940ac PPSSPP UI: Implement password masking in popup text inputs 2024-09-26 11:32:51 +02:00
Henrik Rydgård
f020d1d815 Windows inputbox: Add flags field, delete dupe code, add ability to mask passwords 2024-09-26 10:48:31 +02:00
Henrik Rydgård
9699be2110 RetroAchievements: Cleanup better on login failure 2024-09-26 01:09:56 +02:00
Henrik Rydgård
8c8b34aac4 Vulkan: Separate the instance and device API versions, for extension loading purposes 2024-09-25 18:38:31 +02:00
Henrik Rydgård
b2d9ac54dd Make InfoField an "enum class", extract function FormatAPIVersion 2024-09-25 16:34:33 +02:00
Henrik Rydgård
de0f50158b More refactoring 2024-09-25 16:19:29 +02:00
Henrik Rydgård
f4e3252966 Refactor LOAD_INSTANCE_FUNC_CORE 2024-09-25 16:08:37 +02:00
Henrik Rydgård
12ecf25618 Refactor the LOAD_INSTANCE_FUNC macro to load a function 2024-09-25 16:04:36 +02:00
Henrik Rydgård
4f9f0acd32 VulkanLoader: Improve logging 2024-09-25 15:59:24 +02:00
Nemoumbra
d1b49cf03b Moved the CyclicBuffer to the Collections dir 2024-09-20 16:19:24 +03:00
Henrik Rydgård
c451b41b8b
Merge pull request #19470 from hrydgard/for-based-loop-cpp17
Rebase of #18559 (For based loop cpp17 by GermanAizek)
2024-09-18 13:25:34 +02:00
Henrik Rydgård
fb80ad6370
Merge pull request #19413 from oltolm/d3d9_com_ptr
use ComPtr for D3D9
2024-09-18 11:33:07 +02:00
Herman Semenov
4ef014cb73 [Common] Fixes from Unknown W. Brackets: <checkins@unknownbrackets.org> 2024-09-18 11:11:25 +02:00
Herman Semenov
9f5ac80430 Fixed merge conflict 2024-09-18 11:10:55 +02:00
Herman Semenov
192650f551 [Core/HLE/GPU/D3D11/GLES] Using for based loop C++17 and replaced on structured binding map C++17 2024-09-18 11:10:10 +02:00
Herman Semenov
45429bcd85 [Common/Data/File/Input/Net/Serialize/System/UI] Using for based loop C++17 and replaced on structured binding map C++17 2024-09-17 17:42:08 +02:00
Henrik Rydgård
a6dbb4dfdb
Merge pull request #19468 from hrydgard/german-static-const-override
Some checks failed
Build / build-windows (ARM64) (push) Waiting to run
Build / build-windows (x64) (push) Waiting to run
Build / build-uwp (push) Waiting to run
Build / test-windows (push) Blocked by required conditions
Build / build (./b.sh --headless --unittest --fat --no-png --no-sdl2, clang, clang++, test, macos, macos-latest) (push) Waiting to run
Build / build (./b.sh --ios, clang, clang++, ios, ios, macos-latest) (push) Waiting to run
Build / test (macos-latest) (push) Blocked by required conditions
Build / test (ubuntu-latest) (push) Blocked by required conditions
Build / build (./b.sh --headless --unittest, clang, clang++, test, clang-normal, ubuntu-latest) (push) Failing after 0s
Build / build (./b.sh --headless --unittest, gcc, g++, gcc-normal, ubuntu-latest) (push) Failing after 0s
Build / build (./b.sh --libretro_android ppsspp_libretro, clang, clang++, android, android-libretro, ubuntu-latest) (push) Failing after 0s
Build / build (./b.sh --qt, gcc, g++, qt, qt, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=arm64-v8a OPENXR=1, clang, clang++, android, android-vr, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=arm64-v8a UNITTEST=1 HEADLESS=1, clang, clang++, android, android-arm64, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=armeabi-v7a UNITTEST=1 HEADLESS=1, clang, clang++, android, android-arm32, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=x86_64 UNITTEST=1 HEADLESS=1, clang, clang++, android, android-x86_64, ubuntu-latest) (push) Failing after 0s
Build / build (make -C libretro -f Makefile -j2, clang, clang++, libretro, clang-libretro, ubuntu-latest) (push) Failing after 0s
Build / build (make -C libretro -f Makefile -j2, gcc, g++, libretro, gcc-libretro, ubuntu-latest) (push) Failing after 0s
Build / build_test_headless_alpine (push) Failing after 0s
Generate Docker Layer / build (push) Failing after 0s
Code cleanup: Add some const and static modifiers
2024-09-17 17:35:06 +02:00
Henrik Rydgård
0bb69a0ccf
Merge pull request #19464 from hrydgard/german-align-struct-64
Partial application of GermanAizek's PR #19047
2024-09-17 15:29:15 +02:00
Henrik Rydgård
eccd7f3767 More const/static-ification 2024-09-17 15:22:37 +02:00
Henrik Rydgård
2ba4eaf3dd First part of the const changes etc 2024-09-17 15:13:13 +02:00
Henrik Rydgård
b21efd6728 Revert possibly problematic parts 2024-09-17 14:55:20 +02:00
Henrik Rydgård
9d48e51205
Merge pull request #19467 from hrydgard/german-check-before-delete
[Common/Core/Windows] Removed excess check pointer before delete or free
2024-09-17 14:27:41 +02:00
Henrik Rydgård
ed8f0c560a
Merge branch 'master' into fix-core-gpu-always-true 2024-09-17 13:03:26 +02:00
Herman Semenov
3c66f149d3 [Common/Core/Windows] Removed excess check pointer before delete or free() 2024-09-17 11:34:42 +02:00
Henrik Rydgård
11210442ce Fix potential crash in reporting screenshot functionality 2024-09-17 11:24:22 +02:00
Henrik Rydgård
a05bf2d784
Merge pull request #19465 from lvonasek/hotfix-openxr-skipeffects
OpenXR - Fix rendering when skip framebuffer effects is enabled
2024-09-16 22:36:09 +02:00
Lubos
20064445b3 OpenXR - Restore depth buffer 2024-09-16 17:06:37 +02:00
Herman Semenov
dcb8b4f81b [GPU/Core/Debugger] Reduced struct sizes using align for x64 platforms, fields carefully moved
Then revert changes that aren't worth it
2024-09-16 13:32:48 +02:00
Henrik Rydgård
99a65f3a0a Implement the fallback path from OpenGL to Vulkan 2024-09-16 12:34:37 +02:00
Henrik Rydgård
62656b6e6f VS2017 buildfix
Some checks failed
Build / build-windows (ARM64) (push) Waiting to run
Build / build-windows (x64) (push) Waiting to run
Build / build-uwp (push) Waiting to run
Build / test-windows (push) Blocked by required conditions
Build / build (./b.sh --headless --unittest --fat --no-png --no-sdl2, clang, clang++, test, macos, macos-latest) (push) Waiting to run
Build / build (./b.sh --ios, clang, clang++, ios, ios, macos-latest) (push) Waiting to run
Build / test (macos-latest) (push) Blocked by required conditions
Build / test (ubuntu-latest) (push) Blocked by required conditions
Build / build (./b.sh --headless --unittest, clang, clang++, test, clang-normal, ubuntu-latest) (push) Failing after 0s
Build / build (./b.sh --headless --unittest, gcc, g++, gcc-normal, ubuntu-latest) (push) Failing after 0s
Build / build (./b.sh --libretro_android ppsspp_libretro, clang, clang++, android, android-libretro, ubuntu-latest) (push) Failing after 0s
Build / build (./b.sh --qt, gcc, g++, qt, qt, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=arm64-v8a OPENXR=1, clang, clang++, android, android-vr, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=arm64-v8a UNITTEST=1 HEADLESS=1, clang, clang++, android, android-arm64, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=armeabi-v7a UNITTEST=1 HEADLESS=1, clang, clang++, android, android-arm32, ubuntu-latest) (push) Failing after 0s
Build / build (cd android && ./ab.sh -j2 APP_ABI=x86_64 UNITTEST=1 HEADLESS=1, clang, clang++, android, android-x86_64, ubuntu-latest) (push) Failing after 0s
Build / build (make -C libretro -f Makefile -j2, clang, clang++, libretro, clang-libretro, ubuntu-latest) (push) Failing after 0s
Build / build (make -C libretro -f Makefile -j2, gcc, g++, libretro, gcc-libretro, ubuntu-latest) (push) Failing after 0s
Build / build_test_headless_alpine (push) Failing after 0s
Generate Docker Layer / build (push) Failing after 0s
thanks nemo
2024-09-14 18:40:03 +02:00
Henrik Rydgård
8e3daeb1e3
Merge pull request #19445 from hrydgard/vertexdec-opt
VertexDecoder: Don't read loop counts from memory. Improves codegen
2024-09-10 18:07:06 +02:00
Henrik Rydgård
42c32c5afc VertexDecoder: Don't read loop counts from memory. Improves codegen 2024-09-10 17:53:19 +02:00
Henrik Rydgård
10d3b253a4 More InstallZip refactoring, add options for install directory where applicable 2024-09-10 13:55:12 +02:00
Henrik Rydgård
3f32d8e304
Merge pull request #19438 from hrydgard/android-folder-move-fixes
Android memstick folder move: Minor logging and robustness improvements
2024-09-09 20:39:22 +02:00
Henrik Rydgård
c631fe355f Fix the MGS2 Acid renderpass merge optimization
Failed to merge the specified renderAreas, leading to AMD skipping
rendering of much of the screen.

Fixes #17680
2024-09-09 18:12:53 +02:00
Henrik Rydgård
d47c05f4a1 Android memstick folder move: Minor logging and robustness improvements 2024-09-09 17:47:21 +02:00
Henrik Rydgård
1ce416a366 Remove the Vulkan option on Moto G54. See issue #18681
See #18681
2024-09-08 17:34:47 +02:00
Henrik Rydgård
59b39a190c
Merge pull request #19436 from hrydgard/save-data-install
Implement save data install from ZIP
2024-09-07 16:59:04 +02:00
Henrik Rydgård
ce4f8ba6f4 Buildfix 2024-09-07 15:58:15 +02:00
Henrik Rydgård
f38cc4a959 Add some prototype UI for overwriting saves 2024-09-05 20:52:12 +02:00
Bashar Astifan
e7d7d89066 Simplify & win11-build check fix
Without build check on Windows 10 it will appear as Windows 11, I forgot to keep build check, also the process can be simplified more to avoid extra functions.
2024-09-04 22:56:37 +04:00
Bashar Astifan
b015225bf6 Adding SYSPROP_SYSTEMBUILD
Using `SYSPROP_SYSTEMVERSION` is bad idea since it's set under `Available as Int`, instead I just added `SYSPROP_SYSTEMBUILD`
2024-09-03 20:42:34 +04:00
Bashar Astifan
f1771b9474 OS Version UWP, Win32 2024-09-03 20:07:57 +04:00
Bashar Astifan
b235d4b218 OS Version preview 2024-09-03 15:58:35 +04: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
ba9ee8c42c Store: Minor layout fixes, bigger title text 2024-09-02 17:38:12 +02:00
Henrik Rydgård
d0ab095b1d Homebrew Store: Fetch license and website URL. Add buttons to go to website and look up license info. 2024-09-02 01:05:55 +02:00
Lubos
6c507bf857 OpenXR - Ensure we have a valid poses after app event 2024-08-27 18:59:59 +02:00
Lubos
abeeeb1cbf OpenXR - Sonic rivals rendering fix 2024-08-27 08:22:58 +02:00
Lubos
7fab80200a OpenXR - Formatting 2024-08-26 22:06:53 +02:00
Lubos
a1acbe0c83 OpenXR - Remove depth buffer 2024-08-26 22:04:24 +02:00
Lubos
c07cf6c9be OpenXR - Fix stage errors 2024-08-26 21:59:27 +02:00
oltolm
87db979ed7 use ComPtr for D3D9 2024-08-25 12:08:31 +02:00
Henrik Rydgård
f7a72e8415
Merge pull request #19371 from fjtrujy/master
Run unit tests on Alpine docker too
2024-08-24 16:57:01 -06:00
Lubos
f56f696386 OpenXR - Cleanup 2024-08-08 12:35:45 +02:00
Lubos
3154a5fac1 OpenXR - VR camera features on any platform 2024-08-07 09:25:12 +02:00
Lubos
3a6bf77f6b OpenXR - Texts review 2024-08-05 12:45:42 +02:00
Francisco Javier Trujillo Mata
96fd0f4bcd Add NO_MMAP flag in the compilation scripts 2024-07-29 17:54:06 +02:00
Francisco Javier Trujillo Mata
ffcab114a1 Fix debug compilation error 2024-07-29 17:54:06 +02:00
Henrik Rydgård
592d9c5d69 Replace SetWaitableTimerEx with SetWaitableTimer
This makes the build work on retroarch's build server, and keeps
compatibility with Windows Vista (although we hardly test for that).
2024-07-29 08:11:19 -06:00
Henrik Rydgård
2e74efb2fc Fix potential crash in logging
Doesn't happen for me for some reason, but does for Nemoumbra.
2024-07-28 22:03:28 -06:00
Henrik Rydgård
144b3a8a98 Vulkan validation error cleanups 2024-07-28 08:08:48 -06:00
Henrik Rydgård
5c368cb965 More buildfixes 2024-07-26 15:22:35 +02:00
Henrik Rydgård
9fb97add3f Bugfixes 2024-07-26 14:22:31 +02:00
Henrik Rydgård
96c4ae4457 TimeUtil: Minor cleanup, add precise_sleep() 2024-07-26 11:25:58 +02:00