Commit Graph

66 Commits

Author SHA1 Message Date
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
Unknown W. Brackets f14361c3b8 Add a bunch more missing cstring includes. 2013-12-30 21:37:19 -08:00
Kentucky Compass db77b52caa Save/restore local file handles and seek positions 2013-12-28 23:43:02 -08:00
Unknown W. Brackets 0c3dd53c2b Remove extraneous lookup. 2013-12-27 08:05:19 -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
Henrik Rydgard a028f07951 Turn down some logging. 2013-11-08 18:52:07 +01:00
Unknown W. Brackets e95f55a5fe Fix some enum type warnings. 2013-10-19 14:57:45 -07:00
Unknown W. Brackets 657f7f1a2d Improve DirectoryFileSystem's wide char handling. 2013-09-07 16:14:41 -07:00
Henrik Rydgard 8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Henrik Rydgard 55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Unknown W. Brackets c6c821a0f7 Fix some unitinialized values. 2013-08-12 23:33:11 -07:00
Unknown W. Brackets 7b7801d59a Switch to including Windows.h from an intermediate.
This makes it easier for Xbox which uses a separate header.
2013-07-28 21:04:19 -07:00
Unknown W. Brackets a01d84ac30 List directories in virtfs too.
Well, basically the same as directory, just skipping `.` and `..`...
2013-07-28 12:33:22 -07:00
Unknown W. Brackets 256394b2bf Move VirtualDiscFileSystem to its own file. 2013-07-28 12:31:48 -07:00
Unknown W. Brackets b5e46b46cd Fix some minor virtual disc warnings. 2013-07-26 22:50:57 -07:00
Unknown W. Brackets fa3b608b36 Fix a missing log argument. 2013-07-26 22:13:09 -07:00
Unknown W. Brackets 8da6259aff More carefully check defines for endianness. 2013-07-25 22:25:50 -07:00
Kingcom b24f4a64d4 Linux fixes and small changes 2013-07-25 13:45:30 +02:00
Kingcom 5ddc9afba0 -save state support
-abstracted file access
-moved to VirtualDiscFileSystem class
2013-07-24 22:49:45 +02:00
Kingcom e76ffe6b7c Supprt opening whole disc, assume file info is gathered before it's used 2013-07-23 22:23:12 +02:00
Kingcom be548fdd2e Disable invalid file operations for virtual discs 2013-07-23 20:24:15 +02:00
Kingcom 0afd7dea28 Add error message when opening entire ISO 2013-07-23 17:53:55 +02:00
Kingcom 8955fedf44 Open directory as disc image 2013-07-23 17:24:33 +02: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 fe97fd6fc5 Add better savestate error handling.
Aborts when it can't load.
2013-04-13 01:39:17 -07:00
Unknown W. Brackets be600e5095 Set the times when reading a dir on Windows.
Test doesn't pass but it's not gonna.
2013-03-07 00:02:01 -08:00
Henrik Rydgard aa06c1452e Allow mounting VFS directories. Used to provide flash0 from within APK on Android. 2013-02-27 17:41:40 +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
Henrik Rydgard 349f1bd56b Windows build fix :P 2013-02-04 20:20:50 +01:00
Henrik Rydgard 7a36619174 Android buildfix + cleanup 2013-02-04 20:19:24 +01:00
KentuckyCompass 83fa725424 std::string is not UTF8-aware 2013-01-22 06:59:22 -08:00
KentuckyCompass f9a843fb28 add case insensitivity to GetDirListing 2013-01-22 06:31:42 -08:00
Sacha 0ce45cef55 Update for Qt project files. New Symbian icon (Belle style) thanks to z435312561. Stat64 -> stat. 2013-01-22 16:17:44 +10:00
Unknown W. Brackets 5170931aad Buildfix for Windows. 2013-01-21 01:15:57 -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
Sacha aa99c3f859 Make dir scan work cross-platform. Update Qt project files. 2012-12-31 17:52:57 +10: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
Arthur Blot c2851467e5 No more useless errors/warnings at all! 2013-01-02 19:42:15 +01:00
Xele02 45c9ed389c Implement mode 11 2012-12-29 23:56:45 +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 Rydgård 1a378ea7a9 Try to fix linux build 2012-12-27 23:41:22 +01:00
KentuckyCompass 57ee25e239 Fix brain fart. 2012-12-27 06:36:00 -08:00
KentuckyCompass 1c5ea99031 Remove pointless string clear() 2012-12-27 05:14:06 -08:00
KentuckyCompass 3862aea4de Minor comment edit. 2012-12-27 04:28:28 -08:00
KentuckyCompass 9e85c01c1f Simulate case insensitivity on case sensitive platforms. 2012-12-27 04:27:07 -08:00
KentuckyCompass 725094eaef Storing a size_t returned from std::string in an int and checking for negative is weird. 2012-12-27 04:23:04 -08:00
KentuckyCompass 928150fbf4 Add an ERROR_LOG for GetDirListing not implemented on non-Windows. 2012-12-27 04:15:08 -08:00
KentuckyCompass 3839179a09 Implement opening for append in DirectoryFileSystem. Add more non-Windows access modes. 2012-12-27 03:25:21 -08:00