Commit graph

117 commits

Author SHA1 Message Date
Henrik Rydgard
8146ff85f3 umd0 solution: Add "OnlyEntireISOFileSystem"
Wraps around an ISOFileSystem, redirecting all the filenames to "" to
achieve the desired effect (should fix Bleach Soul Carnival 2 without resorting
to CPkmn's hack from #6638)

Probably breaks savestates as-is...
2014-07-27 23:42:46 +02:00
Unknown W. Brackets
bc7bc87941 The total size of umd0: is in blocks.
Therefore sceIoLseek(umd0:, 0, 2) should return the number of blocks, not
the number of bytes, in the iso.

Looks like this may help Zero no Kiseki.
2014-01-11 08:34:04 -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
23971e9900 Implement ioctl command 0x01020002. 2013-12-27 08:03:59 -08:00
Unknown W. Brackets
dbf86187e3 Add Ioctl() to IFileSystem, cleaner. 2013-12-27 08:03:59 -08:00
Henrik Rydgard
ab6bdfa84d Workaround for a weird I/O issue 2013-11-23 12:49:32 +01:00
Unknown W. Brackets
ade4f76ac1 Don't try to load bogus isos, carnage awaits. 2013-10-05 11:12:52 -07: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
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Unknown W. Brackets
7349de55d1 Fix some initialization/sprintf warnings. 2013-09-01 01:15:07 -07: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
32de51fdf7 Use u32_be where appropriate as well. 2013-07-28 21:04:19 -07:00
Unknown W. Brackets
79c4104456 Specify file data layout endianness. 2013-07-27 16:05:21 -07:00
Unknown W. Brackets
d9d66c46e9 Avoid a possibly uninitialized var. 2013-07-26 22:50:56 -07:00
Kingcom
8955fedf44 Open directory as disc image 2013-07-23 17:24:33 +02:00
Henrik Rydgard
3022a026a1 Reduce unnecessary logging when loading isos, and update native 2013-07-10 21:59:43 +02:00
tpunix
2d50f6e074 add isBlockSectorMode to savestate 2013-07-08 16:34:09 +08: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
Henrik Rydgard
a8e932830e Revert part of 3ac9aa9cfb , it crashes GTA: LCS. @tpunix, might want to investigate. 2013-07-07 14:19:40 +02:00
tpu
3ac9aa9cfb bug fix about ISOfilesystem and sceIo 2013-07-06 23:42:49 +08:00
Unknown W. Brackets
010bd689f6 Parse sce_lbn more leniently, like the PSP does. 2013-06-23 16:21:04 -07:00
Henrik Rydgard
74638ef4ae More autodownload UI work etc 2013-06-04 22:32:52 +02:00
Unknown W. Brackets
ee414830f6 Add some reporting in filesystem related code. 2013-05-26 20:23:09 -07:00
Unknown W. Brackets
225d09555b Properly savestate umd0: references. 2013-05-12 16:37:03 -07:00
Unknown W. Brackets
053b33f5e2 Remove the ISOFileSystem freelist, not threadsafe. 2013-04-13 13:04:39 -07:00
Unknown W. Brackets
bfaf9d0d6d Clean up restricted ISO reading. 2013-04-03 00:18:51 -07:00
Unknown W. Brackets
417ce893dc Darn, sorry, missed a typo. 2013-03-31 23:56:21 -07:00
Unknown W. Brackets
eeafcaff52 Typo in restricted ISO reading. 2013-03-31 23:50:10 -07:00
Unknown W. Brackets
d11a5debcb Add a way to restrict ISO reading to a single path.
This is for GameInfoCache.
2013-03-31 21:36:12 -07:00
Unknown W. Brackets
20bb55e1cb Speed up reading multiple isos in a row. 2013-03-31 20:58:24 -07:00
Unknown W. Brackets
f4a0709286 Correct the startSector read by sceIoDread(). 2013-03-03 22:05:23 -08:00
Unknown W. Brackets
64c42ffaf2 Fix some warnings generated by clang. 2013-02-24 10:23:31 -08:00
Henrik Rydgard
5ace14dd30 Log level adjustments 2013-02-12 22:09:40 +01:00
Unknown W. Brackets
fbfc1b7f10 Correctly read ISO 9660 directory entries.
Before, we would often duplicate the last entry in a directory.
2013-02-09 21:26:55 -08:00
Unknown W. Brackets
d26bebc685 Return an error if the raw lbn is too high. 2013-01-09 01:13:38 -08:00
Unknown W. Brackets
b7be025bde Fix basic seeking within an lbn raw file. 2013-01-09 00:45:59 -08:00
Unknown W. Brackets
a59fe8eb0f Fix sce_lbn parsing for missing 0x, etc. 2013-01-09 00:10:52 -08:00
Henrik Rydgard
a9c171c786 Fix bAutoRun config option, add to menu. (Run on Load). 2013-01-04 10:26:14 +01:00
Arthur Blot
c2851467e5 No more useless errors/warnings at all! 2013-01-02 19:42:15 +01:00
Unknown W. Brackets
1768365c13 Fix a memory leak in the ISO filesystem. 2012-12-28 13:55:28 -08: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
17750c7c80 Need this for the debug build. 2012-12-21 16:28:55 -08:00
Unknown W. Brackets
ec753a3575 Fix some ignored error / shadowing warnings. 2012-12-21 16:23:21 -08:00
Unknown W. Brackets
56fa601d24 Add include for tolower(), made Android unhappy. 2012-12-19 22:27:26 -08:00
Henrik Rydgard
19af6531f7 Warning fix (and I don't like shadowing) 2012-12-17 22:06:19 +01:00
TMaul
0ae55ae65c Ooops, didnt mean to leave that uncommented :) 2012-12-17 20:28:50 +00:00
TMaul
458ed7f421 Make filename checks on iso case insentitive
But still keep them logically in the same case they are on the discs
2012-12-17 20:23:36 +00:00