aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/ds/arm9/source/ramsave.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/ds/arm9/source/ramsave.cpp b/backends/platform/ds/arm9/source/ramsave.cpp
index 113dd5df72..82830e9102 100644
--- a/backends/platform/ds/arm9/source/ramsave.cpp
+++ b/backends/platform/ds/arm9/source/ramsave.cpp
@@ -205,7 +205,7 @@ bool DSSaveFile::seek(int32 pos, int whence) {
break;
}
case SEEK_END: {
- ptr = save.size - pos;
+ ptr = save.size + pos;
break;
}
}