summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2026-09-02 19:59:34 -0700
committerGitHub <noreply@github.com>2026-09-02 19:59:34 -0700
commitc85914172bb515a8b12e7e5463ddc9305799d891 (patch)
tree7bfc2eccf73fc5a2d5d5db4ef97676032b112590 /src/code
parent395be304f21cbbbde989591bdd6855f566f11261 (diff)
[n64-jp-1.1] yaz0 (#1878)
* [n64-jp-1.1] yaz0 * PR suggestions
Diffstat (limited to 'src/code')
-rw-r--r--src/code/sys_cmpdma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/code/sys_cmpdma.c b/src/code/sys_cmpdma.c
index adf41de49..ad94ced93 100644
--- a/src/code/sys_cmpdma.c
+++ b/src/code/sys_cmpdma.c
@@ -2,6 +2,7 @@
#include "libc64/malloc.h"
#include "color.h"
+#include "versions.h"
#include "yaz0.h"
#include "z64dma.h"
@@ -116,6 +117,8 @@ void CmpDma_LoadAllFiles(uintptr_t segmentVrom, void* dst, size_t size) {
for (i = 0; i < end; i++) {
CmpDma_LoadFileImpl(rom, i, nextDst, 0);
+#if MM_VERSION >= N64_US
nextDst = gYaz0DecompressDstEnd;
+#endif
}
}