Skip to content

Commit 504bad7

Browse files
Compiling on 64bit requires more memory
1 parent 52c5ccb commit 504bad7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scriptmodules/libretrocores/lr-mupen64plus-next.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ function build_lr-mupen64plus-next() {
5353
params+=(FORCE_GLES=1)
5454
fi
5555

56+
if isPlatform "64bit"; then
57+
rpSwap on 2048
58+
else
59+
rpSwap on 750
60+
fi
61+
5662
# use a custom core name to avoid core option name clashes with lr-mupen64plus
5763
params+=(CORE_NAME=mupen64plus-next)
5864
make "${params[@]}" clean
@@ -64,6 +70,8 @@ function build_lr-mupen64plus-next() {
6470
make "${params[@]}"
6571
fi
6672

73+
rpSwap off
74+
6775
md_ret_require="$md_build/mupen64plus_next_libretro.so"
6876
}
6977

0 commit comments

Comments
 (0)