mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-27 00:00:07 -06:00
make invalid SPI memory commands return 0xFF. fixes #1366 (Dementium II checks the results of RDSR, RDID and cmd 00 to determine what kind of backup memory is present)
This commit is contained in:
@ -564,6 +564,7 @@ void Write(u8 val, u32 hold)
|
||||
|
||||
default:
|
||||
printf("unknown firmware SPI command %02X\n", CurCmd);
|
||||
Data = 0xFF;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user