commit
c2d833af5d
7 changed files with 48 additions and 7 deletions
|
@ -44,6 +44,8 @@ pre_configure_target() {
|
|||
makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/bin
|
||||
cp -a ${PKG_BUILD}/src/retro_arena/yabasanshiro ${INSTALL}/usr/bin/yabasanshiroSA
|
||||
cp -a ${PKG_DIR}/sources/* ${INSTALL}/usr/bin
|
||||
cp -a ${PKG_DIR}/sources/start_yabasanshiroSA.sh ${INSTALL}/usr/bin
|
||||
chmod 0755 ${INSTALL}/usr/bin/start_yabasanshiroSA.sh
|
||||
mkdir -p ${INSTALL}/usr/config/game/yabasanshiro
|
||||
cp ${PKG_DIR}/sources/config ${INSTALL}/usr/config/game/yabasanshiro/.config
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
// Inisialize home directory
|
||||
std::string home_dir = getenv("HOME");
|
||||
- home_dir += "/.yabasanshiro/";
|
||||
+ home_dir = "/storage/roms/saturn/yabasanshiro/";
|
||||
+ home_dir = "/storage/.config/game/yabasanshiro/";
|
||||
struct stat st = {0};
|
||||
if (stat(home_dir.c_str(), &st) == -1) {
|
||||
mkdir(home_dir.c_str(), 0700);
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
std::string home_dir = getenv("HOME");
|
||||
- home_dir += "/.yabasanshiro/";
|
||||
+ home_dir = "/storage/roms/saturn/yabasanshiro/";
|
||||
+ home_dir = "/storage/.config/game/yabasanshiro/";
|
||||
|
||||
this->filename = home_dir + input_trace_filename + ".config";
|
||||
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
diff --git a/yabause/src/nx/main.cpp b/yabause/src/nx/main.cpp
|
||||
index 7d7ee2a30..51f5c12ed 100644
|
||||
--- a/yabause/src/nx/main.cpp
|
||||
+++ b/yabause/src/nx/main.cpp
|
||||
@@ -190,7 +190,7 @@ OSD_struct *OSDCoreList[] = {
|
||||
static SDL_Window* wnd;
|
||||
static SDL_GLContext glc;
|
||||
int g_EnagleFPS = 1;
|
||||
-int g_resolution_mode = 0;
|
||||
+int g_resolution_mode = 3;
|
||||
int g_keep_aspect_rate = 0;
|
||||
int g_scsp_sync = 1;
|
||||
int g_frame_skip = 0;
|
||||
diff --git a/yabause/src/sdl/main.c b/yabause/src/sdl/main.c
|
||||
index b990c1df5..8577c5546 100644
|
||||
--- a/yabause/src/sdl/main.c
|
||||
+++ b/yabause/src/sdl/main.c
|
||||
@@ -141,7 +141,7 @@ NULL
|
||||
#endif
|
||||
|
||||
static int fullscreen = 0;
|
||||
-static int lowres_mode = 0;
|
||||
+static int lowres_mode = 1;
|
||||
|
||||
static char biospath[256] = "\0";
|
||||
static char strgsyslangeid[256] = "english";
|
7
packages/games/emulators/yabasanshiroSA/sources/config
Normal file
7
packages/games/emulators/yabasanshiroSA/sources/config
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"Aspect rate": 1,
|
||||
"Resolution": 3,
|
||||
"Rotate screen": false,
|
||||
"Rotate screen resolution": 0,
|
||||
"Use compute shader": false
|
||||
}
|
|
@ -8,8 +8,8 @@
|
|||
. /etc/profile
|
||||
|
||||
ROM_DIR="/storage/roms/saturn/yabasanshiro"
|
||||
CONFIG_DIR="/storage/.config/game/configs/yabasanshiro"
|
||||
SOURCE_DIR="/usr/config/game/configs/yabasanshiro"
|
||||
CONFIG_DIR="/storage/.config/game/yabasanshiro"
|
||||
SOURCE_DIR="/usr/config/game/yabasanshiro"
|
||||
BIOS_BACKUP="/storage/roms/bios/yabasanshiro"
|
||||
|
||||
if [ ! -d "${ROM_DIR}" ]
|
||||
|
@ -49,4 +49,10 @@ do
|
|||
fi
|
||||
done
|
||||
|
||||
GAME=$(echo "${1}"| sed "s#^/.*/##")
|
||||
if [ ! -e "${CONFIG_DIR}/${GAME}.config" ]
|
||||
then
|
||||
cp -f ${SOURCE_DIR}/.config "${CONFIG_DIR}/${GAME}.config"
|
||||
fi
|
||||
|
||||
yabasanshiroSA -r 2 -i "${1}" ${BIOS} >/var/log/exec.log 2>&1 ||:
|
||||
|
|
|
@ -9,7 +9,7 @@ DEVICE_AUDIO_MIXER="Master"
|
|||
DEVICE_VOLUME_DEV="/dev/input/by-path/platform-gpio-keys-event"
|
||||
DEVICE_CONTROLLER_DEV="/dev/input/by-path/platform-singleadc-joypad-event-joystick"
|
||||
#DEVICE_HEADPHONE_DEV=""
|
||||
DEVICE_BRIGHTNESS="75"
|
||||
DEVICE_BRIGHTNESS="30"
|
||||
DISPLAY_ROTATED=false
|
||||
SPLASH_LOADER="imagemagick"
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ then
|
|||
elif [[ "${DEVICE}" =~ RG503 ]] || [[ "${DEVICE}" =~ RG353P ]]
|
||||
then
|
||||
PKG_URL="https://github.com/JustEnoughLinuxOS/rk356x-kernel.git"
|
||||
PKG_VERSION="61bd16d2a"
|
||||
PKG_VERSION="042850fbc"
|
||||
fi
|
||||
|
||||
PKG_KERNEL_CFG_FILE=$(kernel_config_path) || die
|
||||
|
|
Loading…
Reference in a new issue