Propagate common ImportSRAM return value from NAND cartridge function (#1104)

This commit is contained in:
Raphaël Zumer 2021-05-16 12:15:34 -04:00 committed by GitHub
parent eb7bedfc79
commit 4a39a84216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -887,8 +887,9 @@ void CartRetailNAND::LoadSave(const char* path, u32 type)
int CartRetailNAND::ImportSRAM(const u8* data, u32 length)
{
CartRetail::ImportSRAM(data, length);
int ret = CartRetail::ImportSRAM(data, length);
BuildSRAMID();
return ret;
}
int CartRetailNAND::ROMCommandStart(u8* cmd, u8* data, u32 len)