GBA Savedata: Update flash busy comment

This commit is contained in:
Vicki Pfau 2024-11-17 02:27:19 -08:00
parent cfd30b7a95
commit 3d493239d7
1 changed files with 3 additions and 3 deletions

View File

@ -376,9 +376,9 @@ uint8_t GBASavedataReadFlash(struct GBASavedata* savedata, uint16_t address) {
}
}
if (mTimingIsScheduled(savedata->timing, &savedata->dust) && (address >> 12) == savedata->settling) {
// This should read /Q7 ("data# polling"), Q6 flipping ("toggle bit")
// every read, and /Q5 ("error bit" cleared), but just data# polling
// is sufficient for games to figure it out
// This should read Q7 XOR data bit 7 (data# polling), Q6 flipping
// every read (toggle bit), and /Q5 (error bit cleared), but implementing
// just data# polling is sufficient for games to figure it out
return (savedata->currentBank[address] ^ 0x80) & 0x80;
}
return savedata->currentBank[address];