perf: Enable dual cores for Supafaust

This commit is contained in:
robshape 2023-05-28 21:10:35 +02:00
parent e1fbcb61fa
commit 0c8bc5fe6f
3 changed files with 15 additions and 5 deletions

View file

@ -1,5 +1,7 @@
-supafaust_pixel_format = rgb565
-supafaust_thread_affinity_emu = 0x0
-supafaust_renderer = mt
-supafaust_thread_affinity_emu = 0x1
-supafaust_thread_affinity_ppu = 0x2
bind Up = UP
bind Down = DOWN
@ -12,4 +14,4 @@ bind X Button = X
bind B Button = B
bind A Button = A
bind L Button = L1
bind R Button = R1
bind R Button = R1

View file

@ -11,4 +11,6 @@ mkdir -p "$BIOS_PATH/$EMU_TAG"
mkdir -p "$SAVES_PATH/$EMU_TAG"
HOME="$USERDATA_PATH"
cd "$HOME"
echo 1 > /sys/devices/system/cpu/cpu1/online
minarch.elf "$CORES_PATH/${EMU_EXE}_libretro.so" "$ROM" &> "$LOGS_PATH/$EMU_TAG.txt"
echo 0 > /sys/devices/system/cpu/cpu1/online