From 7bd0cc9a2ce4aaeaf68b836bddaf70f296c453f8 Mon Sep 17 00:00:00 2001 From: MeltyPlayer Date: Thu, 27 Oct 2022 22:37:33 -0500 Subject: [PATCH] Enabled NO_SEGMENTED_MEMORY flag in order to fix bug when converting virtual to physical memory addresses. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ba4d43e..59df3ee 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ else CC := cc LDFLAGS := -lm -shared endif -CFLAGS := -g -Wall -fPIC -DSM64_LIB_EXPORT -DGBI_FLOATS -DVERSION_US +CFLAGS := -g -Wall -fPIC -DSM64_LIB_EXPORT -DGBI_FLOATS -DVERSION_US -DNO_SEGMENTED_MEMORY SRC_DIRS := src src/decomp src/decomp/engine src/decomp/include/PR src/decomp/game src/decomp/pc src/decomp/pc/audio src/decomp/mario src/decomp/tools src/decomp/audio BUILD_DIR := build