Commit Graph

191 Commits

Author SHA1 Message Date
Unknown W. Brackets
8ccd3773d9 Open files using wide functions on win32.
Fixes #3432.
2013-08-27 00:28:46 -07: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
2488bce9ef Doesn't seem like this is an issue anywhere. 2013-08-21 08:40:30 -07:00
Unknown W. Brackets
25c07aa945 Don't warn for umd0: and ms0:, not problems. 2013-08-18 18:38:05 -07:00
Unknown W. Brackets
51e5cfab40 Small warning fix. 2013-08-15 01:35:06 -07:00
Unknown W. Brackets
8ab67b1674 Fix some warnings. 2013-08-13 21:05:54 -07:00
Unknown W. Brackets
c6c821a0f7 Fix some unitinialized values. 2013-08-12 23:33:11 -07:00
Unknown W. Brackets
008052e6d6 Fix some variable hiding warnings. 2013-08-12 23:32:38 -07: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
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
Unknown W. Brackets
b5e46b46cd Fix some minor virtual disc warnings. 2013-07-26 22:50:57 -07:00
Unknown W. Brackets
d9d66c46e9 Avoid a possibly uninitialized var. 2013-07-26 22:50:56 -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
Unknown W. Brackets
45ff47589a Remove unused fpointer member. 2013-07-10 22:30:25 -07:00
Henrik Rydgard
3022a026a1 Reduce unnecessary logging when loading isos, and update native 2013-07-10 21:59:43 +02:00
Henrik Rydgård
d68c805430 Merge pull request #2704 from tpunix/master
ISOFileSystem and prxDecrypt2 patch
2013-07-08 02:05:28 -07:00
tpunix
2d50f6e074 add isBlockSectorMode to savestate 2013-07-08 16:34:09 +08:00
Henrik Rydgård
e21c5c6747 Merge pull request #2691 from thedax/master
Fix PSN eboot crashes
2013-07-08 00:46:12 -07:00
tpunix
543b08ac07 bugfix of ISOFileSystem 2013-07-08 15:17:42 +08:00
tpunix
2de2c53918 new patch for ISOFilsSystem 2013-07-08 12:35:07 +08:00