final fantasy type-0 iso merge file issue
|
12-30-2013, 02:12 AM
(This post was last modified: 12-30-2013 02:15 AM by [Unknown].)
Post: #19
|
|||
|
|||
RE: final fantasy type-0 iso merge file issue
Hmm. I suppose sce_lbn references may not work properly with a 2+ GB iso, although umd: access will (it's by LBA.)
If you change seekPos from unsigned int to u64, as well as openSize. Then also change startingPosition of the TreeEntry struct to u64. Might need to add some casts to this line: e->startingPosition = dir.firstDataSector() * 2048; And then change: Code: u32 sectorStart = 0xFFFFFFFF, readSize = 0xFFFFFFFF; To: Code: u32 sectorStart = 0xFFFFFFFF; (both times) And then in parseLBN: Code: bool parseLBN(std::string filename, u32 *sectorStart, u32 *readSize) Code: bool parseLBN(std::string filename, u32 *sectorStart, u32 *readSize) If that works, it'll mean some hassles to make savestates upgrade, but that could maybe/hopefully do the trick. Oh, also, you'll need: Code: u32 positionOnIso; Change to u64, and possibly some related casts. If not (very possible, I'm not sure why it would be reading the second sector...), hmm... -[Unknown] |
|||
« Next Oldest | Next Newest »
|