mirror of
https://github.com/Seregon85/GCConverter.git
synced 2026-04-22 04:47:14 -05:00
Overwrite region byte only
The original application overwrites the publisher's byte with 01, which is Nintendo's code. As a result, only first-party Nintendo game saves can be successfully converted. This change leaves the publisher's byte intact, so third-party game saves can be converted as well (tested with a couple of EA games).
This commit is contained in:
parent
7a16bfaf7f
commit
1c2ca83cc1
|
|
@ -130,11 +130,11 @@ namespace GCConverter
|
|||
{
|
||||
bw.BaseStream.Seek(0x3, SeekOrigin.Begin);
|
||||
if (region == "PAL")
|
||||
bw.Write(0xFF313050);
|
||||
bw.Write((byte)0x50);
|
||||
else if (region == "NTSC-U")
|
||||
bw.Write(0xFF313045);
|
||||
bw.Write((byte)0x45);
|
||||
else if (region == "NTSC-J")
|
||||
bw.Write(0xFF31304A);
|
||||
bw.Write((byte)0x4A);
|
||||
|
||||
bw.Close();
|
||||
}
|
||||
|
|
@ -145,4 +145,4 @@ namespace GCConverter
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user