Commit Graph

183 Commits

Author SHA1 Message Date
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
Lioncash
998ac27bf0 Fix a possible memory leak in BlockDevices.cpp. 2013-08-06 19:03:38 -04:00
CPkmn
5729523d9c ISOFileSystem support for umd0:umd0
Allows Bleach: Soul Carnival 2 to find what it's looking for in its boot process (umd0:umd0). The game is still stuck in a blackscreen, but the boot process seems better than before (judging from the logs).

Prior to requesting umd0:umd0 the log is interesting. This is the second game I've seen waiting within a callback, and having something other than hleDelayResultFinish waking up an HLE-blocked thread.
2013-08-02 04:28:01 -07:00
Unknown W. Brackets
ae993b67e3 Properly return sector info in virtfs. 2013-07-30 01:19:47 -07:00
Henrik Rydgård
27d1f81805 Merge pull request #2971 from unknownbrackets/virtfs
Fix VirtualDiscFileSystem handlers on Linux/Mac
2013-07-29 09:30:58 -07:00
Unknown W. Brackets
0ff6aefee3 Add some names so no one is confused. 2013-07-28 22:03:34 -07:00
Unknown W. Brackets
649c2bff73 Add virtfs handler support on Mac/Linux. 2013-07-28 22:02:27 -07:00
Unknown W. Brackets
8505d255fc Fix Linux parsing of .ppsspp-index.lst file. 2013-07-28 22:02:27 -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
32de51fdf7 Use u32_be where appropriate as well. 2013-07-28 21:04:19 -07:00
Sacha
c91c07c89d Buildfix. 2013-07-29 11:37:51 +10:00
Unknown W. Brackets
55ed8d648b Add a param to log filenames in virtfs handlers. 2013-07-28 13:09:00 -07:00
Unknown W. Brackets
5c0796ed57 Switch to .lst instead of .ini. 2013-07-28 12:50:02 -07:00
Unknown W. Brackets
bd7c57c944 Implement a stub for handlers in GetFileInfo(). 2013-07-28 12:38:56 -07:00
Kingcom
a56e3a1a99 Oops, typo. 2013-07-28 12:38:56 -07:00
Unknown W. Brackets
1e32599f2d Implement virtfs file handlers. 2013-07-28 12:38:53 -07:00
Unknown W. Brackets
150a5c8f70 Add basic infrastructure for file handler plugins.
The purpose of this is for games which use archive file formats
(containing many individual files), so that assets, files, etc. can be
worked on more rapidly.
2013-07-28 12:36:16 -07:00
Kingcom
66f19b9cca Fix issues 2013-07-28 12:34:25 -07:00
Unknown W. Brackets
f6859d21cc Add .ppsspp-index.ini for virtfs dirs, for LBAs.
This way games that hardcode lbns in a file or elf can still be used.
2013-07-28 12:33:23 -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
a2763a298e Minor simplification to virtfs savestate. 2013-07-28 12:33:18 -07:00
Unknown W. Brackets
256394b2bf Move VirtualDiscFileSystem to its own file. 2013-07-28 12:31:48 -07:00
Unknown W. Brackets
79c4104456 Specify file data layout endianness. 2013-07-27 16:05:21 -07:00