mirror of
https://github.com/LNH-team/pico-loader.git
synced 2026-04-11 21:13:52 +02:00
Fix bug in preprocessing cheats
This commit is contained in:
@@ -580,7 +580,7 @@ void NdsLoader::PreprocessCheats()
|
||||
for (u32 i = 0; i < _cheats->numberOfCheats; i++)
|
||||
{
|
||||
cheatPreprocessor.PreprocessCheat(cheat);
|
||||
cheat = (pload_cheat_t*)((u8*)cheat + cheat->length);
|
||||
cheat = (pload_cheat_t*)((u8*)cheat + sizeof(u32) + cheat->length);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user