Henrik Rydgård
5d047a394b
Scoped storage: Make the home button simply go to the root of the current directory tree.
2021-07-25 19:23:10 +02:00
Henrik Rydgård
3ec13b8440
Two more functions
2021-07-25 17:32:12 +02:00
Henrik Rydgård
0997b8500c
Convert four more functions to allow for error codes.
...
Note that they still don't actually use them...
2021-07-25 17:32:12 +02:00
Henrik Rydgård
2333239514
Change one storage function to use an error code.
2021-07-25 17:32:12 +02:00
Henrik Rydgård
ab69b896c3
Add and hook up Android_MoveFile
2021-07-25 17:32:12 +02:00
Henrik Rydgård
729496b60a
Error code support preparations
2021-07-25 17:32:09 +02:00
Henrik Rydgård
c6c5a93bf4
Couple of minor things, crashfix on deserialization failure
2021-07-25 15:42:12 +02:00
Henrik Rydgård
76e8e89925
Add support for FILE_APPEND.
2021-07-25 15:42:12 +02:00
Henrik Rydgård
d5781824eb
Fix lastModified, speed up Android_FileExists. Add Android_CopyFile (unused)
2021-07-24 00:33:05 +02:00
Henrik Rydgård
bd99e4a287
Greatly speed up content URI file listings by using DocumentContract queries.
2021-07-24 00:33:05 +02:00
iota97
4ac7e28726
log fix
2021-07-22 11:31:03 +02:00
Henrik Rydgård
e3c748cc97
OpenGL: Accept "AMD" as a vendor string for, well, AMD.
...
Seen with the open source driver by archanox
2021-07-22 08:59:48 +02:00
Henrik Rydgård
96406364ca
Fix for new bug in GetDirListing, oops
2021-07-19 20:43:10 +02:00
Henrik Rydgård
e73e0dc0be
Fix multiple issues preventing in-game saves from working.
2021-07-19 17:34:51 +02:00
Henrik Rydgård
2f04fc1c00
Refactor DirectoryFileSystem::GetDirListing to use GetFilesInDir.
...
Lets us remove some platform specific code, fixing the content URI case.
2021-07-19 17:34:51 +02:00
Henrik Rydgård
bea9f67c02
Fix assorted path issues
2021-07-19 17:34:51 +02:00
Henrik Rydgård
4f10ff9d31
Add quick method to check file existence by content URI.
...
Seems to speed up bringing up the pause screen slightly (checking for
save state files).
2021-07-19 17:34:51 +02:00
Henrik Rydgård
15fafe5415
Fix date/time display for savestates
2021-07-19 17:34:51 +02:00
Henrik Rydgård
e1b4a9175a
Add handling for Android content URIs to VFSReadFile, fixing savestate thumbnails.
2021-07-19 17:34:51 +02:00
Henrik Rydgård
b0558b2174
Assorted directory fixes
2021-07-19 17:34:50 +02:00
Henrik Rydgård
fff3850096
Add ability to rename content URI files, fixing saving save states.
...
buildfix
2021-07-19 17:34:50 +02:00
Henrik Rydgård
0c765c2c28
Buildfix
2021-07-19 10:42:44 +02:00
Henrik Rydgård
7c3bc01268
Make GetFilesInDir fully-featured enough to use in DirectoryFileSystem
...
To later reduce code duplication in #14619
2021-07-19 10:31:48 +02:00
Henrik Rydgård
58ecab849e
Just some variable initialization
2021-07-18 16:00:07 +02:00
Henrik Rydgård
6f73dd4b74
Need strtoull for 64-bit ulongs.
2021-07-18 10:02:08 +02:00
Henrik Rydgård
59e2d3556f
Sort file listings from Android Content URIs. May help #14607
2021-07-12 15:10:29 +02:00
Henrik Rydgård
26d3dd166a
Merge pull request #14600 from hrydgard/path-browser-async-read
...
Path browser: Read all types of listing on background thread, not just HTTP
2021-07-11 10:48:12 +02:00
iota97
498878267a
Customizable touch control (rebased with label)
2021-07-11 09:55:25 +02:00
Henrik Rydgård
3595e092c9
Turn off all 16-bit formats if B5G6R5 format is not available.
...
Works around #14602 for now.
2021-07-10 23:33:46 +02:00
Henrik Rydgård
0a4da48978
PathBrowser: Load all types of path asynchronously. Helps with slow scoped storage listings :/
2021-07-10 11:54:03 +02:00
Henrik Rydgård
a0bae1855f
Path browser: Move special handling of Windows root directory to GetFilesInDir.
2021-07-10 11:47:03 +02:00
Henrik Rydgård
4c9b5ada0f
Address feedback
2021-07-09 21:09:44 +02:00
Henrik Rydgård
cde3889866
Android buildfix
2021-07-09 21:09:44 +02:00
Henrik Rydgård
df6abe83a3
Support depth clamping in OpenGL where available.
...
Should make support for depth texturing quite easy.
Unfortunately, this extension does not exist on OpenGL ES. There we'll
have to use ugly tricks with gl_FragDepth if we want this.
2021-07-09 21:09:44 +02:00
Stuart Kenny
96454fcbb6
Revert removal of Teardown call
...
As per review recommendation.
2021-07-08 15:39:51 +01:00
Stuart Kenny
02a24cdb7d
Fix black screen on multiple libretro content loads.
...
Moves ThreadPool teardown to retro_unload_game. Gives ThreadPool threads some breathing room to terminate before game load starts spamming it with tasks.
2021-07-08 08:34:48 +01:00
Henrik Rydgård
6c51dabe9a
Somewhat improved error checking in MemArena.
2021-07-07 19:01:42 +02:00
Silent
c4572afdb1
UWP: Add a missing bounds check from TextDrawerWin32::DrawStringBitmap
...
Fixes a crash on switching tabs
2021-06-27 17:55:42 +02:00
Henrik Rydgård
15a2373f04
Implement thread debug id with the syscall instead of gettid().
...
See #14545
2021-06-21 01:27:17 +02:00
Henrik Rydgård
692a54ea74
An attempt at cleaning up the checks in ThreadUtil
2021-06-19 14:54:36 +02:00
Henrik Rydgård
c92775d26b
Try a slightly rougher fix for libretro builds
...
(our builds work, but not their CI)
2021-06-14 22:44:27 +02:00
Henrik Rydgård
727b84ce5e
Possible fix for reported problem with gettid() in libretro
2021-06-14 18:07:24 +02:00
Unknown W. Brackets
8ae3f5eb41
Android: Fix logical CPU count.
...
Otherwise bad things happen.
2021-06-13 12:47:11 -07:00
Unknown W. Brackets
cdcd77a931
Core: Correct relocation error check.
2021-06-13 10:51:51 -07:00
Unknown W. Brackets
87716a158f
Merge pull request #14391 from hrydgard/new-threadpool
...
New ThreadManager, replacing threadpools and "PrioritizedWorkQueue"
2021-06-13 07:08:32 -07:00
Henrik Rydgård
6d634f0c96
Mailbox: Address feedback
2021-06-13 11:27:12 +02:00
Henrik Rydgård
81f0c3a8e4
Address feedback (except the mailbox refcount)
2021-06-13 10:16:53 +02:00
Henrik Rydgård
1d59560409
Make use of hyperthreading for worker threads. Still cap to 16 workers.
2021-06-13 00:05:18 +02:00
Henrik Rydgård
62eadd2dac
typo, unnecessary
2021-06-12 23:47:34 +02:00
Henrik Rydgård
2d6a73792b
Untested libretro fixes, misc
2021-06-12 23:42:52 +02:00