Commit graph

25 commits

Author SHA1 Message Date
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
Unknown W. Brackets
73722d9cee Support additional prefixes, like memstick:.
I also found umd01: and host01: work, etc.  May help #5377 and possibly
others.

It seems like games can assign these at will and potentially even
subpaths, but reporting hasn't shown many cases yet.  We can still watch
it.

Avoided mapping additional systems because savestates don't handle that
well currently.
2014-02-10 01:41:28 -08: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
f6482417ab Return an int not a u32 for proper error check. 2013-12-09 08:04:33 -08:00
Unknown W. Brackets
0636a65ad9 Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08:00
Unknown W. Brackets
18bcf63ee9 Add a convenience helper to load a file oneshot. 2013-12-08 11:05:36 -08:00
shenweip
a611ed3930 Remount all references in Remount func. 2013-11-26 18:20:33 +01:00
shenweip
7832cebacd CleanUp. 2013-11-26 18:20:33 +01:00
Unknown W. Brackets
54ca1e212f Unmount filesystems during HLE shutdown.
Fixes #3115.
2013-08-10 14:04:07 -07:00
Unknown W. Brackets
333cc33efb Handle OpenFile() errors in a more threadsafe way.
Probably needs better cleanup though.
2013-08-10 09:54:14 -07:00
Unknown W. Brackets
b5ac31bbea Add locks to all the pspFileSystem methods. 2013-08-10 09:27:06 -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
Unknown W. Brackets
8e1193feba Fail with an error in sceIoChdir for invalid dev. 2013-05-12 16:51:08 -07: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
KentuckyCompass
a13c2da407 rename System -> MountPoint and add convenience wrapper 2013-01-11 10:10:37 -08:00
KentuckyCompass
9f4680a267 don't chop off prefix when mapping path for chdir 2013-01-11 10:10:36 -08:00
KentuckyCompass
320c0d06c3 Implement per-thread current directory 2013-01-10 16:18:02 -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
Henrik Rydgard
4541c3e18b Slightly better logging in path mapping 2012-12-19 11:11:56 +01:00
Sacha
6192bdf6df sceIoRename function 2012-11-28 05:21:32 +10: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
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00