Fix off by 1 in PSX RetroAchievements disc hashing

This commit is contained in:
CasualPokePlayer 2024-10-16 17:39:48 -07:00
parent 0105caee6e
commit ce3af37b24
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ namespace BizHawk.Client.EmuHawk
return sector;
}
filename = filename.Remove(0, slashIndex);
filename = filename.Remove(0, slashIndex + 1);
numSectors = (filesize + 2047) / 2048;
}