Henrik Rydgård
caf6d8442a
Merge pull request #17630 from m4xw/common
...
Common & CodeBlock changes for Nintendo Switch
2023-06-27 14:43:23 +02:00
M4xw
6fdf953136
[Common] Placeholder Crash() impl. for Nintendo Switch
2023-06-27 14:21:56 +02:00
M4xw
b52d3f64ff
[Common] Add cstring include to ArmCPUDetect
2023-06-27 14:21:56 +02:00
M4xw
21be8c3c2b
[Common] CommonType base for Nintendo Switch
...
Avoid name conflicts & declare certain types
2023-06-27 14:21:55 +02:00
M4xw
36584aa6f4
[CodeBlock] W^X dualbase impl. for Nintendo Switch
2023-06-27 14:21:52 +02:00
Henrik Rydgård
01cf22e074
Merge pull request #17589 from hrydgard/retroachievements-initial-work
...
Retroachievements support (work-in-progress)
2023-06-27 00:13:53 +02:00
M4xw
0cf6f46330
[MemoryUtil] Platform changes for Nintendo Switch
2023-06-26 16:17:45 +02:00
M4xw
b4f602de85
[MemArena] Opt-out of MemArenaPosix for Switch
2023-06-26 13:58:39 +02:00
Henrik Rydgård
864b2bbb31
Path: If a Path is empty, the slash operator will not add an additional slash.
2023-06-26 10:01:42 +02:00
Henrik Rydgård
87846c5fcb
Add simple facility for storing secret in app-private storage on Android (other platforms not so good)
2023-06-26 10:01:42 +02:00
Henrik Rydgård
69a5ca0e1d
A bunch of visual updates and fixes. Lots left to polish.
2023-06-26 10:01:42 +02:00
Henrik Rydgård
c442d1de86
Implement rendering of unlocked achievements. Not final design.
2023-06-26 10:01:42 +02:00
Henrik Rydgård
1d0badae56
Achievements: Show achievement icons in list
2023-06-26 10:01:41 +02:00
Henrik Rydgård
93de74144e
Add basic achievement rendering
2023-06-26 10:01:41 +02:00
Henrik Rydgård
8beca03e7e
MacOSX buildfixes
2023-06-26 10:01:41 +02:00
Henrik Rydgård
f6fdaa4f56
Get it to recognize the hash by using the rcheevos hash implementation
2023-06-26 10:01:41 +02:00
Henrik Rydgård
029b887491
Initial batch of fixes. Not compiling yet, http will be the tricky one.
2023-06-26 10:01:40 +02:00
Henrik Rydgård
4745999665
Copy-paste retroachievement support from DuckStation. No fixes yet!
2023-06-26 10:01:40 +02:00
haorui
fb91cf9b21
align should be 3 when format is GL_RGB and type is GL_UNSIGNED_BYTE
2023-06-24 16:09:28 +08:00
Henrik Rydgård
cf587d2ccc
More cleanup after making PopupTextInputChoice choose method automatically
2023-06-22 09:01:14 +02:00
Henrik Rydgård
337668af3e
Make PopupTextInputChoice smarter (use native dialog if possible)
2023-06-22 08:58:30 +02:00
Henrik Rydgård
38f174eab4
Add query for system text input
2023-06-22 08:58:30 +02:00
Henrik Rydgård
0a1bf5532d
UI: Allow showing popup string values as password stars
2023-06-22 08:58:29 +02:00
Henrik Rydgård
2708f0b93e
Add a new "System" request for a username-password dialog box
2023-06-22 08:58:29 +02:00
M4xw
436b55de72
[MemArena] Add designated impl for Nintendo Switch
2023-06-22 00:06:59 +02:00
M4xw
5b6bc0cea7
[MemArena] Honor MV_MIRROR_PREVIOUS on ReleaseView
...
Allows for clean teardown of the Memory Map for Switch
2023-06-22 00:01:38 +02:00
Henrik Rydgård
266b85d22d
Support for extra text in OSD messages (drawn smaller, on darker background)
2023-06-21 01:16:25 +02:00
Henrik Rydgård
c76b6a48ab
Prepare for detailed overlay messages
2023-06-21 01:08:25 +02:00
Henrik Rydgård
ff75eced70
Progress bar: Fix the indeterminate state
2023-06-21 01:08:24 +02:00
Henrik Rydgård
d2c3a7c978
Add support for displaying progress bars
2023-06-20 22:44:31 +02:00
Henrik Rydgård
6ba0479edc
OSD: Add colored backgrounds to OSD messages, according to type.
...
This also reorganizes a little to make rendering achievement popups more
natural later.
Adds info.png to the atlasscript, but doesn't yet rebuild it - more
images are coming.
2023-06-20 17:32:45 +02:00
Henrik Rydgård
575c428867
Buildfix
2023-06-20 15:23:45 +02:00
Henrik Rydgård
ed0c4b7a9e
Rename OSD "Message" to "Entry" since it can soon be multiple other things (progress bar, etc).
2023-06-20 15:07:34 +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
d6552a7673
Implement an "OverlayScreen" concept. OSD can now render on top of other screens than EmuScreen.
2023-06-20 10:44:47 +02:00
Henrik Rydgård
300a64a86d
IconCache: Remove texture objects quite quickly after it stops getting used.
...
They can be recreated pretty quickly as needed.
2023-06-18 15:24:56 +02:00
Henrik Rydgård
6f9941dafa
Crashfix during clearing
2023-06-18 15:14:42 +02:00
Henrik Rydgård
2bf2f745e2
IconCache: Add pending state to avoid duplicate downloads in some cases
2023-06-18 14:54:11 +02:00
Henrik Rydgård
cb5926761b
Add a way to monitor the icon cache from the system info screen.
2023-06-18 14:18:45 +02:00
Henrik Rydgård
2bee5b64e4
Add new icon cache, for caching small images.
...
It doesn't try to insert or fetch missing things itself, re-fetching is up to the caller.
This will be required for handling the many achievement icons.
Saving/loading the cache to a single file on disk is implemented but not
hooked up yet. It works without it, though of course will have to
re-fetch things on the next startup.
2023-06-18 14:11:12 +02:00
Henrik Rydgård
9f88dbd656
Icon cache for UI rendering
...
This will be needed for achievements, and has uses already now.
2023-06-18 14:11:12 +02:00
Henrik Rydgård
0983927319
Comment cleanup
2023-06-17 23:19:23 +02:00
Henrik Rydgård
31a6cecef9
Allow specifying content-type for posts instead of hardcoding.
2023-06-17 23:18:23 +02:00
Henrik Rydgård
2de510432d
Rename our private md5 functions to not clash with other libraries (ugh)
2023-06-17 23:18:23 +02:00
Henrik Rydgård
71cb766393
Fix re-entrancy issue in Downloader
2023-06-17 23:18:23 +02:00
Henrik Rydgård
3bc2aaf7ca
Set MIME type "correctly" (at least for retro purposes) for POSTs
2023-06-17 23:18:23 +02:00
Henrik Rydgård
601e767e3b
HTTPClient: Generalize Download to support GET and POST
2023-06-17 23:18:23 +02:00
Lubos
4642e0a66f
OpenXR - Add passthrough option (Quest only)
2023-06-17 16:33:21 +02:00
Henrik Rydgård
ae29fd2951
Vulkan profiler: Show CPU command buffer recording timing even if GPU timing is unavailable
2023-06-14 09:15:29 +02:00
Henrik Rydgård
fbd10e4722
FastVec: Add capacity lock, fix bug (extracted from a coming PR)
2023-06-14 09:06:25 +02:00