Henrik Rydgård
55aef2afdb
Check file systems for case sensitivity. Avoid running un-needed workarounds.
2025-01-02 18:50:55 +01:00
Henrik Rydgård
1eadea2589
Show the filesystem types and origins in the list (except ISO)
2024-11-26 00:36:58 +01:00
Henrik Rydgård
8a5be21140
MemStick screen: Call free_disk_space from async tasks
...
See #19522
2024-10-11 13:45:43 +02:00
Henrik Rydgård
fc1d984b20
Update rcheevos, switch back to upstream. Avoid using rcheevos' hash.c, by computing game hashes ourselves.
2024-04-03 16:43:34 +02:00
psykose
ea0d5a2abc
FileSystem: add missing <cstdint> header
...
needed for sized intXX_t types, fixes the build against gcc13
2023-05-01 04:26:42 +02: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
f44852bb18
Global: Cleanup virtual/override specifiers.
...
Also missing virtual destructors, hidden non-overrides, etc.
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
Henrik Rydgård
48310d15a9
Add metafilesystem hook to add optimized implementations of compute recursive directory size
2021-09-11 18:12:29 +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
40ab92fe7b
Remove unused function GetHostPath from filesystems
2021-05-13 10:39:17 +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
Jan Beich
7c5b6fc320
FileSystems: add missing header
...
Core/FileSystems/FileSystem.h:102:5: error: field has incomplete type 'tm'
tm atime{};
^
/usr/include/wchar.h:111:8: note: forward declaration of 'tm'
struct tm;
^
2020-12-27 05:25:05 +00:00
Henrik Rydgård
3162f30158
Merge base/basictypes.h into Common/Common.h (mostly).
2020-09-29 15:51:51 +02: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
c829ccb87d
Io: Track whether the game is on a UMD or storage.
2020-05-21 18:57:46 -07:00
Unknown W. Brackets
67416e5919
Io: Simulate VFAT bug only when simulating FAT32.
...
And cleanup flag handling a bit.
2020-05-21 18:57:46 -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
Henrik Rydgard
b0942cf40f
Implement sceIoCreate flag O_EXCL. Should fix #9322
2017-02-19 10:05:17 +01:00
Henrik Rydgård
301571359c
Buildfix
2016-03-06 15:21:16 +01:00
Henrik Rydgard
082d839965
Fix minor issues in ISOFileSystem
2016-03-06 14:28:10 +01:00
Henrik Rydgård
a71fbccfbc
Warning fixes for new LLVM on mac (warns on inconsistent usage of override)
2015-09-17 20:29:37 +02:00
Unknown W. Brackets
d6a113809b
Add basic infrastructure to time io better.
...
This allows the filesystems to more accurately control timing.
But they're not actually doing it yet (same timing as before.)
2014-12-26 01:15:17 -08:00
Unknown W. Brackets
a6a234add1
Return errors on disk full for file creation.
2014-11-02 12:40:31 -08:00
Unknown W. Brackets
2958c575a1
Check actual free disk space when games ask.
...
Windows only for the moment.
2014-11-01 00:33:19 -07:00
Henrik Rydgard
a53ecd7da3
More elegant way of solving #5839 (d_private in sceIoDread)
...
We flag filesystems as being FAT32 instead of checking for "ms0:".
2014-04-13 23:22:17 +02:00
lioncash
b9886942a7
Fix some vertical alignments in misc Core source files.
2014-03-03 11:16:53 -05:00
Unknown W. Brackets
bd982b2e6f
Support PSP_O_TRUNC on Windows.
...
There are more modes we don't support properly. May fix savedata
corruption in Gran Turismo and possibly other games.
2014-02-11 23:54:30 -08:00
Henrik Rydgård
00c32ddadb
Mostly get rid of including "Globals.h"
2013-12-30 10:17:11 +01:00
Henrik Rydgård
79ff2f0ba8
Start untangling our include mess a little.
2013-12-29 23:34:45 +01:00
Unknown W. Brackets
0bf1ef5773
Improve sceIoGetDevType() return values.
...
At least for block/file devices. Can't find a way to get an alias.
2013-12-27 08:04:00 -08:00
Unknown W. Brackets
dbf86187e3
Add Ioctl() to IFileSystem, cleaner.
2013-12-27 08:03:59 -08:00
Unknown W. Brackets
50e9e45d65
Check version in each DoState() func.
...
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets
45ff47589a
Remove unused fpointer member.
2013-07-10 22:30:25 -07:00
tpunix
2de2c53918
new patch for ISOFilsSystem
2013-07-08 12:35:07 +08:00
Unknown W. Brackets
c8ee2c0739
sceIoRename() ignores any path on dest.
...
Also, change the interface so it can return an error code. Currently not
returning perfect error codes but it's better than before.
2013-06-23 20:09:44 -07:00
Sacha
b39a572043
Buildfixes.
...
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Henrik Rydgard
7425532e99
Move non-Android specific stuff from android/jni to /UI.
...
Move source_assets one level up, too.
Also, start prototyping GameInfoCache, you'll see what it's for soon...
2013-03-30 15:46:26 +01:00
Unknown W. Brackets
1759bb8051
Use RemoveFile instead of DeleteFile in fs.
...
Windows defines DeleteFile to DeleteFileA/W, causing confusion.
2013-02-08 10:26:33 -08:00
Unknown W. Brackets
2a6457b6ab
Cut down on h files including PointerWrap.
...
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Xele02
3825df5c6a
Improve sceIo to pass io autotest.
...
io/io, io/cwd, io/directory ok
io/file still have a file mode fail
2013-01-21 01:25:48 +01:00
raven02
289b0eb81e
Add/update stubs in sceIo
2013-01-17 20:05:45 +08:00
Henrik Rydgard
883f61e3dd
Savestates: Add quicksave/quickload. Add Android UI for savestates. All single slot for now.
2013-01-02 21:05:02 +01:00
Unknown W. Brackets
4b39e39455
Start save stating the filesystem state.
...
Plus minor fixes and at least an attempt to make states the same
on both 32 and 64 bit.
2012-12-28 13:55:27 -08:00
Unknown W. Brackets
595759ef78
Implement a factory for kernel objects.
...
Couldn't think of a better way to do this, maybe there's some fancy
one I don't know about.
Also finished up a couple left over kernel objects.
Maybe a quarter the way there?
2012-12-28 13:55:22 -08:00
Xele02
e785662747
Read PARAM.SFO for display save info
...
Display save modification date and time
2012-12-14 23:08:56 +01:00
Sacha
6192bdf6df
sceIoRename function
2012-11-28 05:21:32 +10:00
Henrik Rydgard
6f85f02e25
Module loading fixes - proper module blacklisting, correct some error codes
2012-11-05 12:02:09 +01:00
Henrik Rydgard
64cc573703
Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK.
2012-11-04 23:24:00 +01:00