Merge pull request #438 from Nukem9/patch-1
Add another likely offset for ISO magic
This commit is contained in:
commit
d03d0233ec
|
@ -52,7 +52,7 @@ bool DiscImageDevice::Initialize() {
|
||||||
DiscImageDevice::Error DiscImageDevice::Verify(ParseState* state) {
|
DiscImageDevice::Error DiscImageDevice::Verify(ParseState* state) {
|
||||||
// Find sector 32 of the game partition - try at a few points.
|
// Find sector 32 of the game partition - try at a few points.
|
||||||
static const size_t likely_offsets[] = {
|
static const size_t likely_offsets[] = {
|
||||||
0x00000000, 0x0000FB20, 0x00020600, 0x0FD90000,
|
0x00000000, 0x0000FB20, 0x00020600, 0x02080000, 0x0FD90000,
|
||||||
};
|
};
|
||||||
bool magic_found = false;
|
bool magic_found = false;
|
||||||
for (size_t n = 0; n < xe::countof(likely_offsets); n++) {
|
for (size_t n = 0; n < xe::countof(likely_offsets); n++) {
|
||||||
|
|
Loading…
Reference in New Issue