Skip to content
Merged
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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copyright (C) 2024-present ROCKNIX (https://github.com/ROCKNIX)

PKG_NAME="azahar-sa"
PKG_VERSION="b42d0916ba9799297ae0e27c07d56801da1b5de5" # tag 2125.1.3
PKG_VERSION="fbd3fb02f71e5f9ed5134037fd59bad96c7d2b8a" # tag 2126.0
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/azahar-emu/azahar"
PKG_URL="${PKG_SITE}.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ CSHADERS=$(get_setting cache_shaders "${PLATFORM}" "${GAME}")
HSHADERS=$(get_setting hardware_shaders "${PLATFORM}" "${GAME}")
ACCURATE_HW_SHADERS=$(get_setting accurate_hardware_shaders "${PLATFORM}" "${GAME}")
DISABLE_RIGHT_EYE_RENDER=$(get_setting disable_right_eye_render "${PLATFORM}" "${GAME}")
SIMULATE_3DS_GPU_TIMINGS=$(get_setting simulate_3ds_gpu_timings "${PLATFORM}" "${GAME}")
SIMULATE_HEADPHONES_PLUGGED=$(get_setting simulate_headphones_plugged "${PLATFORM}" "${GAME}")

#Set the cores to use
CORES=$(get_setting "cores" "${PLATFORM}" "${GAME}")
Expand Down Expand Up @@ -198,6 +200,22 @@ case "${DISABLE_RIGHT_EYE_RENDER}" in
*) sed -i '/^disable_right_eye_render=/c\disable_right_eye_render=false' ${CONF_FILE};;
esac

# Simulate 3DS GPU Timings - default to false
sed -i '/^simulate_3ds_gpu_timings\\default=/c\simulate_3ds_gpu_timings\\default=false' ${CONF_FILE}

case "${SIMULATE_3DS_GPU_TIMINGS}" in
1) sed -i '/^simulate_3ds_gpu_timings=/c\simulate_3ds_gpu_timings=true' ${CONF_FILE};;
*) sed -i '/^simulate_3ds_gpu_timings=/c\simulate_3ds_gpu_timings=false' ${CONF_FILE};;
esac

# Simulate Headphones Plugged - default to false
sed -i '/^simulate_headphones_plugged\\default=/c\simulate_headphones_plugged\\default=false' ${CONF_FILE}

case "${SIMULATE_HEADPHONES_PLUGGED}" in
1) sed -i '/^simulate_headphones_plugged=/c\simulate_headphones_plugged=true' ${CONF_FILE};;
*) sed -i '/^simulate_headphones_plugged=/c\simulate_headphones_plugged=false' ${CONF_FILE};;
esac

# QT platform - some device / screen combinations need xcb
case ${HW_DEVICE} in
SM8550|SM8250)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,10 @@
<choice name="on" value="1"/>
<choice name="off" value="0"/>
</feature>
<feature name="simulate 3ds gpu timings">
<choice name="on" value="1"/>
<choice name="off" value="0"/>
</feature>
<feature name="resolution scale">
<choice name="Native 3DS" value="1"/>
<choice name="2x" value="2"/>
Expand All @@ -1184,6 +1188,10 @@
<choice name="side by side" value="3"/>
<choice name="separate windows" value="5"/>
</feature>
<feature name="simulate headphones plugged">
<choice name="on" value="1"/>
<choice name="off" value="0"/>
</feature>
</features>
</core>
</cores>
Expand Down