Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On 64-bit OSs compiling Mupen64bit requires more swap #3576

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scriptmodules/emulators/mupen64plus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,11 @@ function sources_mupen64plus() {
}

function build_mupen64plus() {
rpSwap on 750
if isPlatform "64bit"; then
rpSwap on 2048
else
rpSwap on 750
fi

local dir
local params=()
Expand Down
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
6 changes: 5 additions & 1 deletion scriptmodules/libretrocores/lr-mupen64plus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ function sources_lr-mupen64plus() {
}

function build_lr-mupen64plus() {
rpSwap on 750
if isPlatform "64bit"; then
rpSwap on 2048
else
rpSwap on 750
fi
local params=()
if isPlatform "videocore"; then
params+=(platform="$__platform")
Expand Down