Henrik Rydgård
d4dedeeeb8
Detect ISO files from file contents if extensions are wrong.
...
On older Android versions (that still support Android Storage
Framework), filenames are not always preserved in Content URIs, they can
look like .../msf:342 and things like that. So identify a few more file
types by content if filename identification fails.
2022-04-30 17:47:17 +02:00
Henrik Rydgård
6de574104c
Avoid creating a fileloader during shutdown.
...
Some silliness I found while investigating using SuperLuminal.
2022-04-12 00:16:13 +02:00
Unknown W. Brackets
d7e71543f7
UI: Use comparison screenshot as frame dump icon.
...
This makes it easier to tell a big list apart.
2022-01-08 16:12:48 -08:00
Unknown W. Brackets
3e73ce87ee
Path: Check for PSP case insensitively.
...
This allows a game to look up ms0:/psp/ eve with the PSP special case path
handling.
2021-12-16 15:06:15 -08:00
Unknown W. Brackets
8b5173350f
ThreadManager: Make TaskType a property of a Task.
2021-12-05 21:01:49 -08:00
Henrik Rydgård
fcc0337576
Fix the Android recursive size computation and hook it up.
2021-09-11 18:12:30 +02:00
Henrik Rydgård
e842d395fa
Add untested function Android_ComputeRecursiveDirectorySize
2021-09-11 18:11:53 +02:00
Henrik Rydgård
369ae031de
Optimize install data size calculation.
2021-09-11 15:13:37 +02:00
Henrik Rydgård
830d205839
Optimize savedata size calculation
2021-09-11 15:11:56 +02:00
Henrik Rydgård
43ba908225
Propagate errors from file identification upwards better.
2021-08-07 11:54:45 +02:00
Henrik Rydgård
81f0c3a8e4
Address feedback (except the mailbox refcount)
2021-06-13 10:16:53 +02:00
Henrik Rydgård
b42e49d49d
Kill the pesky goto
2021-06-12 22:16:03 +02:00
Henrik Rydgård
5b64a41a97
ParallelLoop: A bit smarter straggler handling.
2021-06-12 22:04:55 +02:00
Henrik Rydgård
0fa27ff9d7
Autodetect number of threads (remove setting). Fix some bugs.
2021-06-12 21:06:59 +02:00
Henrik Rydgård
446c2c027e
Get rid of the PrioritizedWorkQueue. Instead just queue tasks on the ThreadManager.
2021-06-12 13:03:53 +02:00
Unknown W. Brackets
a097403298
Common: Remove File::GetFilename().
2021-05-14 23:08:31 -07:00
Unknown W. Brackets
b74ecd5fa0
SaveState: Use Path instead of strings.
2021-05-14 23:00:22 -07:00
Unknown W. Brackets
8db4277e6c
UI: Correct fallback to screenshots for icons.
2021-05-14 22:48:48 -07:00
Unknown W. Brackets
d376e67f87
Common: Cleanup some Path constructions.
2021-05-14 22:48:04 -07:00
Henrik Rydgård
4d344f556a
Additional feedback.
2021-05-13 10:39:17 +02:00
Henrik Rydgård
2e16e83159
It never ends...
2021-05-13 10:39:16 +02:00
Henrik Rydgård
ae06499a0c
Change Copy, Rename to use Path. Remove std::string version of Exists().
...
Buildfixes
Buildfix
2021-05-13 10:39:16 +02:00
Henrik Rydgård
0d80362c30
Change parameter of DeleteDir and friends to Path
2021-05-13 10:39:16 +02:00
Henrik Rydgård
025bcb1673
Introduce Path, start using it all over the place.
...
Still lots left to convert!
Convert GetSysDirectory to return Path.
More buildfixing
Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Henrik Rydgård
9480b6672b
Loaders: Rename Path() to GetPath().
...
Path is going to be a struct name.
2021-05-09 17:10:14 -07:00
Unknown W. Brackets
58d46274ef
Common: FileUtil rename buildfix.
2021-04-25 14:51:39 -07:00
Henrik Rydgård
a2a0551a83
Buildfix, and more renaming while we're at it.
2021-04-25 22:25:29 +02:00
Henrik Rydgård
770f7f60e4
Delete unused function, rename two more.
2021-04-25 20:57:37 +02:00
Henrik Rydgård
08843673d9
Rename a couple of functions.
2021-04-25 20:39:32 +02:00
Henrik Rydgård
1b13badeb4
Move remaining FileUtil functions into the File namespace.
2021-04-25 20:38:22 +02:00
Unknown W. Brackets
f32f89dd90
Global: Remove some unused variables.
2021-02-15 11:59:45 -08:00
Henrik Rydgård
0e3a84b4a8
Move most GPU things to Common.
...
It works after the move, on Windows and Android at least.
Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. ( #13506 )
...
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing
Let's also move net while we're at it.
Move the ZIM/PNG loaders over to Common.
Move the UI framework into Common
iOS buildfix
* Buildfix
* Buildfixes
* Apple buildfix
* This typo again..
* UWP buildfix
* Fix build of PPSSPPQt, such as it is (it's not in good condition...)
* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
9e41fafd0d
Move math and some file and data conversion files out from native to Common.
...
Buildfixing
Move some file util files
Buildfix
Move KeyMap.cpp/h to Core where they belong better.
libretro buildfix attempt
Move ini_file
More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
15382d5f94
Move threading utils from native to Common
2020-10-01 09:27:25 +02:00
Henrik Rydgård
ed88761ecc
Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h.
2020-09-29 15:51:51 +02:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Henrik Rydgård
6f1915110f
Remove base/logging from UI and more
2020-08-15 19:08:54 +02:00
Henrik Rydgård
b43698a13d
Remove most instances of base/logging.h from Common, Core, GPU, more
2020-08-15 19:08:44 +02:00
Henrik Rydgård
fbf6008a03
Set debug names for more framebuffers and textures
2020-08-09 09:36:54 +02:00
iota97
592d6f902e
Show region on game selection screen
2020-02-23 12:00:26 +01:00
Unknown W. Brackets
913121cf2b
Io: Consistently use error codes with OpenFile().
...
This gets rid of OpenWithError(), and just always returns a negative value
on error for OpenFile(). Also fixed the sequence rollover, which could've
returned 0.
0 should be considered a valid handle ideally, but left it never returning
0 to simplify cleanup in some areas.
2019-10-20 11:03:37 -07:00
Henrik Rydgård
22ee875ffc
Fix nasty race condition with menu background audio. Fixes #12365
2019-09-27 23:53:31 +02:00
Henrik Rydgård
c8730c933d
Remove deleted GE dumps from Recent. Fixes a part of #11904 (the recent list wasn't updated properly).
2019-08-26 23:56:42 +02:00
Unknown W. Brackets
926b9e66da
UI: Allow deletion of GE dumps from UI.
2019-03-21 19:49:32 -07:00
Unknown W. Brackets
a99549c451
UI: Avoid using game info cache in savedata sort.
...
It can change mid-sort causing the sorting results to be inconsistent,
which will crash many implementations of std::stable_sort.
Also, fix an issue where it kept resorting after it didn't need to and
make it strictly ordered for equal dates/sizes.
Fixes #11892 .
2019-03-17 06:34:21 -07:00
Henrik Rydgård
0cd3ac06d0
Avoid trying to create a FileLoader for empty filenames
...
Assorted cleanup
2019-02-25 21:35:51 +01:00
Henrik Rydgård
3d20ddecc5
VK: Fix sometimes-missing images in GameScreen. Can't load textures from update(). (should probably make that possible though.. later).
2018-11-22 23:53:58 +01:00
Unknown W. Brackets
3fc845a265
UI: Delay game config/discord until game info load.
...
This avoids a race condition where the info is not always available,
causing game-specific config and Discord presence to set incorrectly.
2018-08-22 18:27:20 -07:00
Unknown W. Brackets
048afb6d24
UI: Resolve symlinks when adding things to recent.
...
See #11131 . This also normalizes paths, captialization, etc. as
necessary.
2018-08-12 08:25:10 -07:00