Henrik Rydgård
ef386ac4c5
Add "GetFileInfoByHandle" function to (many) file systems
2025-03-19 10:42:30 +01:00
oltolm
f11674b2d6
get rid of more __MINGW32__ ifdefs
2025-01-19 10:33:22 +01:00
Henrik Rydgård
3e198c53b2
More include cleanup
2024-12-18 13:57:26 +01:00
Henrik Rydgård
47d8e292eb
ImDebugger: Add basic filesystem browser. Add partial support for "save file dialogs" to System.
2024-11-25 23:03:15 +01: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
aa94867128
Warning fixes
2024-05-20 10:04:11 +02:00
Henrik Rydgård
1025bbcf89
Log level/type: Use enum class instead of the awkward namespace trick.
...
Just a small cleanup I've wanted to do for a long time.
2023-08-25 11:48:59 +02:00
Henrik Rydgård
942021e5cd
VirtualDiscFileSystem: Fix out-of-range array read in fileList
2023-05-04 23:47:46 +02:00
Unknown W. Brackets
b927592f88
virtfs: Log error when dlopen() fails.
2023-03-27 06:30:09 -07:00
Unknown W. Brackets
667ae002ca
virtfs: Oops, correct Version check.
...
Must not have added after?
2023-03-27 06:29:09 -07:00
Unknown W. Brackets
414be98489
virtfs: Tell file plugins which shut down.
...
We can have multiple, so it ideally needs to deal with the latest.
2023-03-26 14:45:27 -07:00
Henrik Rydgård
66d2fb2aa4
Reduce logspam from fonts, and a less angry error message for missing textures.zip.
2023-03-16 23:12:46 +01:00
Unknown W. Brackets
a7b7bf7826
Global: Set many read-only params as const.
...
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
4942692558
Io: Provide directory existence with listing.
...
Sometimes, you need to tell the difference between an empty directory and
one that doesn't exist at all. We can do this in a single call.
2022-10-09 14:42:31 -07:00
lainon
b304551747
Code readability, vec reserve() and remove excess c_str()
2022-09-30 12:31:32 +03:00
lainon
fec708489a
Correct cleaning string and remove unused vars
2022-09-30 12:26:30 +03:00
tunip3
42ae18eea5
Replace Win32 file IO with UWP safe variants and add support for getting drives to UWP build ( #15652 )
...
* replace, all win32 file io with their matching uwp safe variants
* add support for drive listing
* Delete NATIVEAPP.ipch
* Update .gitignore
* fix indentation
2022-07-06 23:59:47 +02:00
Henrik Rydgård
8ab627d6e9
Workaround for the /PSP path thing. Needs testing.
2021-07-25 17:32:12 +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
b397e5c455
Assorted plumbing.
...
wip
Buildfix
2021-06-07 00:24:51 +02:00
Unknown W. Brackets
82cd904e99
Common: Use Path for GetFileSize().
2021-05-15 11:11:37 -07:00
Henrik Rydgård
40ab92fe7b
Remove unused function GetHostPath from filesystems
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
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
Unknown W. Brackets
fada6583c9
Core: Fix virtual disc index reading.
...
Otherwise it thought the newline was part of the path.
2021-05-09 17:00:48 -07:00
Henrik Rydgård
2999e1cb86
Core: Remove some uses of OpenCPPFile.
2021-05-09 17:00:48 -07:00
Unknown W. Brackets
58d46274ef
Common: FileUtil rename buildfix.
2021-04-25 14:51:39 -07:00
Henrik Rydgård
77b8a14770
Merge GetFileInfo/GetFileDetails into GetFileInfo
2021-04-25 20:52:29 +02:00
Unknown W. Brackets
1aae6e5ffc
Io: Prevent error on bad handle for DevType().
2021-04-21 20:11:23 -07:00
Unknown W. Brackets
da2e722794
Windows: Fix some format warnings.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
0ffac20fcd
Common: Include unistd.h before ctime on mingw.
...
This is required for localtime_r and similar to be available.
2021-02-14 10:30:10 -08:00
Unknown W. Brackets
2c165c9b6d
Windows: Fix improper case or missing includes.
...
As per mingw errors/warnings.
2021-02-14 10:30:10 -08: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
ff8148dd92
Move native/util, native/data and native/i18 to Common/Data.
...
Also move colorutil.cpp/h
linking build fix experiment
Delete a bunch of unused CMakeLists.txt files
CMakeLists.txt linking fix
Don't include NativeApp.h from any headers.
Android.mk buildfix
Half of the UWP fix
Buildfix
Minor project file cleanup
Buildfixes
Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Unknown W. Brackets
b8342fb8ec
SaveState: Rename ChunkFile files to Serialize.
...
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd
SaveState: Split Do() into a separate header.
2020-08-10 08:03:41 +00:00
Unknown W. Brackets
4bd60ed791
Io: Fix LBN timing for virtual discs.
2020-05-22 00:31:17 -07:00
Unknown W. Brackets
d7ad43b1d9
Io: Cleanup access bits for files.
...
Also, we default a lot of these members, so don't need to reset.
2020-05-21 18:58:24 -07:00
Unknown W. Brackets
49abe9ed6c
Io: Open sce_lbn references and whole ISO faster.
2020-05-21 18:58:24 -07: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
M4xw
15a9a0ac8f
Switch: Cleanup some includes.
...
Disable dlopen and tty checks too.
2019-09-28 09:22:38 -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
Henrik Rydgard
ff2b6b3fca
Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit.
2017-03-23 10:02:28 +01:00
Henrik Rydgard
c219ae9e63
Further UWP fixes
2017-02-25 09:57:24 +01:00
Henrik Rydgard
fcbc20f240
Small changes to make Common and Core build under my preliminary UWP setup.
2017-02-24 18:59:41 +01:00
Unknown W. Brackets
92cdb583aa
virtfs: Log properly on handler load failure.
2016-08-06 20:04:50 -07:00
Unknown W. Brackets
25c320aa4b
virtfs: Avoid crash if handler cannot be loaded.
...
For example, if it was renamed or is for the wrong OS.
2016-08-06 19:23:46 -07:00
NCDyson
cc829f31b8
Attempt to fix segfault on VirtualDiscFileSystem::GetFileInfo for files where handler is specified
2016-05-31 06:23:53 -05:00
Unknown W. Brackets
0592f56df5
Oops, this modifies the input string it seems.
...
Not sure if ISOs are actually case insensitive, though?
2016-05-30 00:38:20 -07:00