Commit graph

392 commits

Author SHA1 Message Date
Henrik Rydgård
7cc42112c1 Add quick risc-v workaround in Unittest.cpp 2025-03-06 14:58:38 +01:00
Henrik Rydgård
d6d1b5bbdc Add mechanism to run any closure on the main thread 2025-03-03 13:59:39 +01:00
Henrik Rydgård
33c4516e72 Implement new volume conversion functions, add test 2025-02-11 18:34:37 -06:00
Henrik Rydgård
cf90b24431 Add UI volume setting (affecting navigation sounds and preview audio). Convert alt speed volume into a 100-step percentage. 2025-02-11 17:42:09 -06:00
Henrik Rydgård
9b923b72c1 Refactor audio output, preparing for better volume control 2025-02-11 16:43:29 -06:00
Henrik Rydgård
8907a4c001 More fixes, improve unit test 2025-02-06 10:26:46 -06:00
Henrik Rydgård
e3f29cccd4 Add more tests 2025-02-06 10:26:46 -06:00
Henrik Rydgård
02b2a33980 Add test for mat*vec too. 2025-02-06 10:26:46 -06:00
Henrik Rydgård
46a472181b CrossSIMD unit test: Add sanity checks for the matrix multiplications 2025-02-06 10:26:46 -06:00
Henrik Rydgård
9caf37d28f Turn off depth raster if SIMD not available 2025-01-28 10:54:43 +01:00
oltolm
2d9f5ecc8f dx9sdk: do not use submodule 2025-01-18 11:28:59 +01:00
Henrik Rydgård
7ddd7024f4 Revert unintentional change. Warning fix 2024-12-31 02:17:33 +01:00
Henrik Rydgård
c3ac798545 More crosssimd 2024-12-31 01:59:08 +01:00
Henrik Rydgård
2051d55c90 CrossSIMD: Add a bunch more functonality for use by the rasterizer 2024-12-21 14:28:00 +01:00
Henrik Rydgård
bdf4b69207 Warning fixes, minor cleanup 2024-12-21 14:28:00 +01:00
Henrik Rydgård
1c2f11a468 Buildfix 2024-12-19 16:57:57 +01:00
Henrik Rydgård
d2a96dc7b5 Replace some SSE4-specific operations with SSE2 sequences. 2024-12-19 16:08:59 +01:00
Henrik Rydgård
3e198c53b2 More include cleanup 2024-12-18 13:57:26 +01:00
Henrik Rydgård
e74101a2fb applySkinInDecode belongs in the VertexTypeID, not in the options. 2024-12-17 18:24:18 +01:00
Henrik Rydgård
96c4a10e8c Add two new core states, rename RUNNING to RUNNING_CPU and similar for stepping. 2024-12-01 21:04:21 +01:00
Henrik Rydgård
755b062abd Minor perf improvement in ini file parser 2024-11-30 02:43:58 +01:00
Henrik Rydgård
305453b52d Buffer: Optimize scanning for the next crlf 2024-11-22 10:31:07 +01:00
Henrik Rydgård
cb27df02f3 Implement new fast queue data structure CharQueue 2024-11-22 00:02:47 +01:00
Henrik Rydgård
59a56d66c7 Add a "reason" argument to sleep_ms().
sleep_ms() should generally be avoided when possible. This can be used to try
to track down unnecessary sleeps by adding some logging.

This commit on its own doesn't actually add any logging.
2024-11-21 15:28:51 +01:00
Henrik Rydgård
36328d0ec4 Remove the separate lua vcxproj. Somehow cursed on the buildbot :/ 2024-11-06 20:18:05 +01:00
Henrik Rydgård
8b2ca3dbaa Another post-lua-merge buildfix (windows) 2024-11-06 19:34:44 +01:00
oltolm
3a285bbd2f d3d9: refactor CompileShaderToByteCodeD3D9 2024-10-13 21:45:39 +02:00
Henrik Rydgård
9699be2110 RetroAchievements: Cleanup better on login failure 2024-09-26 01:09:56 +02:00
Henrik Rydgård
7a0cda93d0 Call TimeInit() in headless and unittest 2024-07-26 15:59:26 +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
fa5ec667ef Add new TimeSpan class for more accurate timing.
Minimizes the amount of value conversions and performs subtractions in
integer space.
2024-06-05 12:38:39 +02:00
Henrik Rydgård
5b14cf9a3d Switch to the new functions. 2024-06-04 10:28:13 +02:00
Henrik Rydgård
f2b4ad04c6 Write new 16-bit to 32-bit color conversion utility functions 2024-06-04 10:26:42 +02:00
Henrik Rydgård
4b45bde38f Convert WordWrapper to use std::string_view 2024-05-24 13:39:49 +02:00
Henrik Rydgård
f6ca8101e0 Start getting string_view into WordWrapper 2024-05-24 12:40:11 +02:00
Henrik Rydgård
8397fd6791 Also disable the GPU JIT tests on ARM64, not applicable 2024-04-29 11:13:35 +02:00
Henrik Rydgård
431a30b9c8 Temporarily disable the JIT_IR unit test on Mac (not sure why it started crashing, OS upgrade?) 2024-04-29 10:32:33 +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
ce83fec206 Linux buildfix attempt 2023-10-29 23:39:25 -06:00
Henrik Rydgård
aedd51f2f6
Merge pull request #18272 from hrydgard/ui-event-enum
Change global UI messages to use an enum instead of strings.
2023-09-30 13:43:32 +02: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
2a4d21e53b
Merge pull request #18241 from hrydgard/ini-rewrite
Optimize IniFile for faster save/load of config
2023-09-30 11:26:04 +02:00
Henrik Rydgård
ade64171ce Proof-of-concept: libchdr works on Windows 2023-09-29 10:05:19 +02:00
Henrik Rydgård
daa1bc3c6e Introduce "ParsedIniLine" 2023-09-26 10:07:10 +02:00
Unknown W. Brackets
e5df318990 unittest: Add jit compare for jit IR. 2023-09-24 10:17:34 -07:00
Henrik Rydgård
b61fa7053f RetroAchievements: Add parameter to SetGame for IdentifiedFileType, also add bool return to SaveSecret 2023-09-06 10:56:51 +02:00
Henrik Rydgård
bcae36d8cb Merge NativeUpdate and NativeRender, we always call them together. 2023-08-07 22:50:57 +02:00
Unknown W. Brackets
3468423bb4 Debugger: Handle missing crash/block ptrs better. 2023-07-23 18:01:00 -07:00
Henrik Rydgård
83e3cf7872 Add winhttp.lib dependency 2023-07-21 10:27:40 +02:00