Skip to content

Commit

Permalink
Compiling on 64bit requires more memory
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeMcMullen authored Nov 28, 2022
1 parent 52c5ccb commit 504bad7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scriptmodules/libretrocores/lr-mupen64plus-next.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ function build_lr-mupen64plus-next() {
params+=(FORCE_GLES=1)
fi

if isPlatform "64bit"; then
rpSwap on 2048
else
rpSwap on 750
fi

# use a custom core name to avoid core option name clashes with lr-mupen64plus
params+=(CORE_NAME=mupen64plus-next)
make "${params[@]}" clean
Expand All @@ -64,6 +70,8 @@ function build_lr-mupen64plus-next() {
make "${params[@]}"
fi

rpSwap off

md_ret_require="$md_build/mupen64plus_next_libretro.so"
}

Expand Down

0 comments on commit 504bad7

Please sign in to comment.