Skip to content

Commit

Permalink
enable fruit
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Apr 12, 2024
1 parent e6db51d commit e9709cd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions megascript_apps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ fn="Metaforce";;d="An attempt to recreate the engine for Retro Studios' GameCube

fn="SM64Port";;d="A native port of the classic game for the N64 (requires a ROM)";;sn="SM64.sh";;f="games_and_emulators"

fn="Citra";;d="3DS emulator";;sn="citra.sh";;f="games_and_emulators"

fn="MelonDS";;d="DS emulator which aims to provide fast and accurate Nintendo DS emulation";;sn="melonDS.sh";;f="games_and_emulators"

fn="SRB2";;d="A 3D open-source Sonic the Hedgehog fangame built using a modified version of Doom";;sn="SRB2.sh";;f="games_and_emulators"
Expand Down
9 changes: 6 additions & 3 deletions scripts/games_and_emulators/citra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ esac
echo "Building Citra..."
sleep 1
cd ~
git clone --recurse-submodules -j$(nproc) https://github.com/citra-emu/citra
if [ -d "$HOME/citra" ] && (cd "$HOME/citra"; git remote get-url origin | grep -q "citra-emu/citra"); then
rm -rf ~/citra
fi
git clone --recurse-submodules -j$(nproc) https://github.com/PabloMK7/citra.git
cd citra
git pull --recurse-submodules -j$(nproc) || error "Could Not Pull Latest Source Code"
git submodule update --init --recursive || error "Could Not Pull All Submodules"
Expand All @@ -65,10 +68,10 @@ cd build
rm -rf CMakeCache.txt
case "$__os_codename" in
bionic | focal)
cmake .. -DCMAKE_BUILD_TYPE=Release -DCITRA_ENABLE_BUNDLE_TARGET=OFF -DCMAKE_CXX_FLAGS=-mcpu=native -DCMAKE_C_FLAGS=-mcpu=native -DCMAKE_C_COMPILER=clang-14 -DCMAKE_CXX_COMPILER=clang++-14
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-mcpu=native -DCMAKE_C_FLAGS=-mcpu=native -DCMAKE_C_COMPILER=clang-14 -DCMAKE_CXX_COMPILER=clang++-14
;;
*)
cmake .. -DCMAKE_BUILD_TYPE=Release -DCITRA_ENABLE_BUNDLE_TARGET=OFF -DCMAKE_CXX_FLAGS=-mcpu=native -DCMAKE_C_FLAGS=-mcpu=native -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-mcpu=native -DCMAKE_C_FLAGS=-mcpu=native -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
;;
esac
if [ "$?" != 0 ]; then
Expand Down

1 comment on commit e9709cd

@cobalt2727
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was actually planning on doing this soon anyways. This works out.

Please sign in to comment.