aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/Util_ROM.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2021-04-25 00:48:02 +0200
committerGitHub <noreply@github.com>2021-04-25 00:48:02 +0200
commit1846a712659ed31357e8ae795055dace0bdd951d (patch)
treea11c1bf2c0b61ee787dac81eec6d7f35fbcace63 /src/frontend/Util_ROM.cpp
parentede6e832d84b9d4b1117ee480122480a7c540509 (diff)
Cart refactor (#1073)
complete cart-interface refactor, will make this code a lot easier to deal with
Diffstat (limited to 'src/frontend/Util_ROM.cpp')
-rw-r--r--src/frontend/Util_ROM.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/Util_ROM.cpp b/src/frontend/Util_ROM.cpp
index b5e8a05..40552e2 100644
--- a/src/frontend/Util_ROM.cpp
+++ b/src/frontend/Util_ROM.cpp
@@ -561,7 +561,7 @@ int Reset()
if (ROMPath[ROMSlot_GBA][0] != '\0')
{
char ext[5] = {0}; int _len = strlen(ROMPath[ROMSlot_GBA]);
- strncpy(ext, ROMPath[ROMSlot_NDS] + _len - 4, 4);
+ strncpy(ext, ROMPath[ROMSlot_GBA] + _len - 4, 4);
if(!strncmp(ext, ".gba", 4))
{