diff options
author | Raphaƫl Zumer <rzumer@tebako.net> | 2021-05-16 12:15:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-16 18:15:34 +0200 |
commit | 4a39a8421698d933c60fdcd82d2e828acf1fe9f0 (patch) | |
tree | b308593863649247bebb8e8a13a519181cc24a7e | |
parent | eb7bedfc79d9c86ea4628dd12293d17d28dfcfef (diff) |
Propagate common ImportSRAM return value from NAND cartridge function (#1104)
-rw-r--r-- | src/NDSCart.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/NDSCart.cpp b/src/NDSCart.cpp index af70cbd..a0bd68c 100644 --- a/src/NDSCart.cpp +++ b/src/NDSCart.cpp @@ -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) |