mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
better heuristic for Flash save type
This commit is contained in:
@ -246,7 +246,7 @@ void Write_Discover(u8 val, bool islast)
|
|||||||
{
|
{
|
||||||
Discover_MemoryType = 5;
|
Discover_MemoryType = 5;
|
||||||
}
|
}
|
||||||
else if (len > 2+128) // Flash
|
else if ((len > 2+128) || (len > 1+16 && CurCmd == 0xA)) // Flash
|
||||||
{
|
{
|
||||||
Discover_MemoryType = 4;
|
Discover_MemoryType = 4;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user