mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 05:09:46 -06:00
Propagate common ImportSRAM return value from NAND cartridge function (#1104)
This commit is contained in:
@ -887,8 +887,9 @@ void CartRetailNAND::LoadSave(const char* path, u32 type)
|
|||||||
|
|
||||||
int CartRetailNAND::ImportSRAM(const u8* data, u32 length)
|
int CartRetailNAND::ImportSRAM(const u8* data, u32 length)
|
||||||
{
|
{
|
||||||
CartRetail::ImportSRAM(data, length);
|
int ret = CartRetail::ImportSRAM(data, length);
|
||||||
BuildSRAMID();
|
BuildSRAMID();
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
int CartRetailNAND::ROMCommandStart(u8* cmd, u8* data, u32 len)
|
int CartRetailNAND::ROMCommandStart(u8* cmd, u8* data, u32 len)
|
||||||
|
Reference in New Issue
Block a user