This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
forked from shauninman/MinUI-Legacy-RG35XX
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
diff --git forkSrcPrefix/platform/libretro/Makefile forkDstPrefix/platform/libretro/Makefile | ||
index 420f9b7..78d9b0e 100644 | ||
--- forkSrcPrefix/platform/libretro/Makefile | ||
+++ forkDstPrefix/platform/libretro/Makefile | ||
@@ -123,7 +123,16 @@ else ifeq ($(platform), miyoomini) | ||
CXXFLAGS += -marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -march=armv7ve | ||
fpic := -fPIC | ||
SHARED := -shared -Wl,--version-script=link.T | ||
- | ||
+else ifeq ($(platform), rg35xx) | ||
+ TARGET := $(TARGET_NAME)_libretro.so | ||
+ CC = $(CROSS_COMPILE)gcc | ||
+ CXX = $(CROSS_COMPILE)g++ | ||
+ AR = $(CROSS_COMPILE)ar | ||
+ STRIP = $(CROSS_COMPILE)strip | ||
+ CXXFLAGS += -marm -mtune=cortex-a9 -mfpu=neon-fp16 -mfloat-abi=hard -march=armv7-a | ||
+ CXXFLAGS += -fomit-frame-pointer -ffast-math -fno-common -ftree-vectorize -funswitch-loops | ||
+ fpic := -fPIC | ||
+ SHARED := -shared -Wl,--version-script=link.T | ||
else ifeq ($(platform), gcw0) | ||
TARGET := $(TARGET_NAME)_libretro_gcw0.so | ||
CC = /opt/gcw0-toolchain/usr/bin/mipsel-linux-gcc | ||
diff --git forkSrcPrefix/platform/libretro/libretro.cpp forkDstPrefix/platform/libretro/libretro.cpp | ||
index 2b289ee..da77509 100644 | ||
--- forkSrcPrefix/platform/libretro/libretro.cpp | ||
+++ forkDstPrefix/platform/libretro/libretro.cpp | ||
@@ -475,6 +475,7 @@ EXPORT bool retro_load_game(struct retro_game_info const *info) | ||
printf("using file path for rom %s\n", info->path); | ||
_vm->QueueCartChange(info->path); | ||
} | ||
+ _vm->UpdateAndDraw(); | ||
|
||
return true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
bind Up = UP | ||
bind Down = DOWN | ||
bind Left = LEFT | ||
bind Right = RIGHT | ||
bind A Button = A | ||
bind B Button = B | ||
bind Start = START |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
|
||
EMU_EXE=fake08 | ||
CORES_PATH=$(dirname "$0") | ||
|
||
############################### | ||
|
||
EMU_TAG=$(basename "$(dirname "$0")" .pak) | ||
ROM="$1" | ||
mkdir -p "$BIOS_PATH/$EMU_TAG" | ||
mkdir -p "$SAVES_PATH/$EMU_TAG" | ||
HOME="$USERDATA_PATH" | ||
cd "$HOME" | ||
minarch.elf "$CORES_PATH/${EMU_EXE}_libretro.so" "$ROM" &> "$LOGS_PATH/$EMU_TAG.txt" |
Empty file.
Empty file.