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
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
8a59ed0062
Add function ApplySafeSubstitution for translation strings with parameters
2023-07-16 16:26:49 +02:00
Henrik Rydgård
9bd67df5b2
Achievement savestate fixes
2023-07-08 21:47:16 +02:00
Henrik Rydgård
7cc8c6cea4
OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI).
2023-06-20 14:40:46 +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
Henrik Rydgård
234c1f05b8
Apply the same optimizations to the Vulkan backend. Smaller effect than for OpenGL.
2023-05-23 08:54:41 +02:00
Henrik Rydgård
ab34d20058
Add more methods to FastVec
2023-05-23 08:54:41 +02:00
Henrik Rydgård
956d784bde
Add FastVec, start using it for InitSteps
2023-05-23 08:54:40 +02:00
Henrik Rydgård
67a35d3476
Merge pull request #17356 from unknownbrackets/minor-cleanup
...
Cleanup some more string formats, mostly in debugger
2023-05-23 08:29:23 +02:00
Henrik Rydgård
081bdb323a
Fix running some file formats from the Downloads folder
...
Due to how we mount stuff, we need to be able to navigate one step up
from the executable, and then re-attach the executable filename. To
allow this, in content URIs, treat ':' as a directory separator for
navigation purposes.
End result, you can now download cube.elf from the website and run it directly
from Downloads without using a file manager to move it.
2023-05-16 16:44:28 +02:00
Henrik Rydgård
cf9a628a2e
AndroidContentURI: Move code from the header to cpp. Some assorted cleanup, add a unit test for Download paths
2023-05-16 16:08:51 +02:00
Henrik Rydgård
ee7e8d7c06
Add a unit test, fix listing zip directories
2023-05-02 11:35:45 +02:00
Unknown W. Brackets
6da10463f9
Debugger: Make reg names safer, stop using v000.
...
Better to use S000, etc. as that's more clear throughout.
2023-04-29 09:48:33 -07:00
Henrik Rydgård
4ed634383f
If there are multiple escapes, pick the first.
2023-04-23 14:42:36 +02:00
Henrik Rydgård
91d4ded3fd
Add function UnescapeMenuString
...
Turns E&dit into Edit and 'd'. Double ampersands are translated to just a single one,
hence the unescaping part of this.
Useful in the Mac port to deal with desktop UI translation strings with included
Windows hotkeys.
2023-04-23 14:37:09 +02:00
Henrik Rydgård
49a2c93b66
Make multi-mapping save-able, add test to verify backwards and forwards compat
2023-04-01 13:51:00 +02:00
Henrik Rydgård
98d9a9c8ca
Merge pull request #16984 from fp64/vfpu-sincos
...
VFPU sin/cos
2023-03-28 16:36:51 +02:00
Henrik Rydgård
9e125eeba7
Remove NotifyUserMessage from Host
2023-03-25 10:32:09 +01:00
Henrik Rydgård
adccc480a0
Another one bites the dust (SendUIMessage)
2023-03-24 21:39:02 +01:00
Henrik Rydgård
349b73acec
Move the resampler usage to a common file, AudioCommon. ( #17176 )
...
* Move the resampler usage to a common file, AudioCommon.
Ports that don't want to use the resampler can now simply exclude that
file and provide their own implementation. Next up, libretro will be
converted to do it that way.
* Android.mk typo
* libretro makefile fix
* libretro buildfix
* libretro: try a different approach for the temporary solution
* duh
* double duh
2023-03-24 17:19:57 +01:00
Henrik Rydgård
06fcc9ccd7
Add System_Notify
2023-03-21 13:37:16 +01:00
Henrik Rydgård
d3955b42bb
Rename some system functions, merge the Launch* ones.
...
android launchurl buildfix
2023-03-21 12:22:59 +01:00
fp64
c49c45a106
Add VFS registration during unittest
2023-03-12 08:21:15 -04:00
fp64
67bb17eba3
Add more vfpu_*, move tables to assets
2023-03-12 08:21:15 -04:00
Henrik Rydgård
547ecec074
Replace the rest of the uses of DepthSliceFactor
2023-02-11 14:45:14 +01:00
Henrik Rydgård
241f8e75bc
Replace some uses of DepthSliceFactor
2023-02-11 14:37:48 +01:00
Henrik Rydgård
d40aa17198
Remove ToScaledDepthFromIntegerScale
2023-02-11 13:27:44 +01:00
Henrik Rydgård
116b3ba8cc
Increase precision of GetDepthScaleFactors to match ToScaledDepthFromIntegerScale
2023-02-11 13:27:44 +01:00
Henrik Rydgård
639ca31814
Address feedback
2023-02-11 11:23:00 +01:00
Henrik Rydgård
28a7912ae6
Add comments, re-enable remaining tests (they do work, just forgot to add expected values)
2023-02-11 01:11:02 +01:00
Henrik Rydgård
8d40684833
Make the test pass, add some commented-out failing ones
2023-02-10 14:57:48 +01:00
Henrik Rydgård
d65dae7185
Depth scale functions: Clean up the naming, add a failing test
2023-02-10 14:57:45 +01:00
Henrik Rydgård
0e3cf9862e
ComputePathTo: Handle case where from == to.
2023-01-02 22:10:00 +01:00
Henrik Rydgård
d0e8cfa365
Add NEON impl too, mostly for exercise purposes
2022-12-01 17:52:02 +01:00
lainon
fec708489a
Correct cleaning string and remove unused vars
2022-09-30 12:26:30 +03:00
Henrik Rydgård
bd71d8044b
TinySet bugfix, add "append"
2022-09-01 10:59:24 +02:00
Unknown W. Brackets
216fcb228c
riscv: Add a simple unit test.
...
Since I haven't tried running these yet, at least best to validate...
2022-08-28 06:03:31 -07:00
Unknown W. Brackets
8f23025209
irjit: Add tests for IR passes.
2022-07-24 11:35:54 -07:00
Henrik Rydgård
f54ed3757c
Always use the stable quick tex hash. Doesn't actually make a difference except on new CPU archs.
2022-04-13 11:18:18 +02:00
Henrik Rydgård
a68ddd0a8d
Merge separate NEON functions into the normal functions.
...
We no longer support non-NEON ARM.
It's nice also to have the NEON and SSE implementations "close" to each
other, easier to port optimizations back and forth etc.
2022-04-12 23:43:21 +02:00
Unknown W. Brackets
73ece5b5ca
Windows: Correct root vol handling for UNC paths.
...
Otherwise CreateFullPath() fails.
2022-03-01 21:07:17 -08:00
Henrik Rydgård
77502db4c4
Merge pull request #15363 from unknownbrackets/softjit-unittest
...
Add unit test to verify compilation of sampler/pixel jits
2022-01-30 10:47:30 +01:00
Unknown W. Brackets
43819fcd16
UI: Cleanup some reference warnings.
2022-01-29 22:36:08 -08:00
Unknown W. Brackets
0d93200faf
softjit: Add tests for compile success.
2022-01-29 18:47:36 -08:00
Unknown W. Brackets
95e292ef63
unittest: Correct Windows-specific Path tests.
2022-01-29 13:36:50 -08:00
Unknown W. Brackets
a397bf811b
UI: Fix some sign/size comparison warnings.
...
Mostly size_t vs int.
2022-01-06 20:40:29 -08:00