mirror of
https://github.com/R-YaTian/TinkeDSi.git
synced 2025-06-19 00:55:48 -04:00
Sonic Classic Collection special fix
This commit is contained in:
parent
8c5e5fd71a
commit
4d159b9273
@ -139,11 +139,11 @@ namespace Tinke.Nitro
|
||||
temp = BitConverter.GetBytes(offset);
|
||||
Array.Copy(temp, 0, buffer, sortedIDs[i] * 8 + 4, 4);
|
||||
//Sonic Classic Collection special fix
|
||||
if (string.Equals(game_code, "VSOE") && string.Equals(currFile.name, "title.wav"))
|
||||
if ((string.Equals(game_code, "VSOE") || string.Equals(game_code, "VSOV")) && string.Equals(currFile.name, "title.wav"))
|
||||
{
|
||||
offset += 0x6C5278;
|
||||
}
|
||||
else if (string.Equals(game_code, "VSOE") && string.Equals(currFile.name, "Game.pak"))
|
||||
else if ((string.Equals(game_code, "VSOE") || string.Equals(game_code, "VSOV")) && string.Equals(currFile.name, "Game.pak"))
|
||||
{
|
||||
offset += 0xD9F0;
|
||||
}
|
||||
|
@ -641,7 +641,7 @@ namespace Tinke.Nitro
|
||||
int rem = (int)bw.BaseStream.Position % 0x200;
|
||||
//Sonic Classic Collection special fix
|
||||
string game_code = new string(cabecera.gameCode).Replace("\0", "");
|
||||
if (string.Equals(game_code, "VSOE") && string.Equals(currFile.name, "title.wav"))
|
||||
if ((string.Equals(game_code, "VSOE") || string.Equals(game_code, "VSOV")) && string.Equals(currFile.name, "title.wav"))
|
||||
{
|
||||
rem = 0x6C5278;
|
||||
while (rem > 0)
|
||||
@ -650,7 +650,7 @@ namespace Tinke.Nitro
|
||||
rem--;
|
||||
}
|
||||
}
|
||||
else if (string.Equals(game_code, "VSOE") && string.Equals(currFile.name, "Game.pak"))
|
||||
else if ((string.Equals(game_code, "VSOE") || string.Equals(game_code, "VSOV")) && string.Equals(currFile.name, "Game.pak"))
|
||||
{
|
||||
rem = 0xD9F0;
|
||||
while (rem > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user