Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NAOMI #3928

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ tmp/

# 3rd Party Repos
ext/*

# Microsoft IDEs
.vs*
4 changes: 4 additions & 0 deletions platforms.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ moto_fullname="Thomson MO/TO"
n64_exts=".z64 .n64 .v64 .zip"
n64_fullname="Nintendo 64"

naomi_exts=".zip"
naomi_fullname="NAOMI Arcade System"
naomi_platform="arcade"

nds_exts=".nds .zip"
nds_fullname="Nintendo DS"

Expand Down
2 changes: 1 addition & 1 deletion scriptmodules/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1740,4 +1740,4 @@ function signFile() {
return 1
fi
return 0
}
}
5 changes: 3 additions & 2 deletions scriptmodules/libretrocores/lr-flycast-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ function install_lr-flycast-dev() {

function configure_lr-flycast-dev() {
local sys
local systems=(dreamcast naomi arcade)
local def
for sys in "arcade" "dreamcast"; do
for sys in "${systems[@]}"; do
def=0
isPlatform "kms" && [[ "$sys" == "dreamcast" ]] && def=1
# segfaults on the rpi without redirecting stdin from </dev/null
Expand All @@ -64,7 +65,7 @@ function configure_lr-flycast-dev() {

[[ "$md_mode" == "remove" ]] && return

for sys in "arcade" "dreamcast"; do
for sys in "${systems[@]}"; do
mkRomDir "$sys"
defaultRAConfig "$sys"
done
Expand Down
2 changes: 1 addition & 1 deletion scriptmodules/libretrocores/lr-flycast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function install_lr-flycast() {

function configure_lr-flycast() {
local sys
local systems=(dreamcast arcade)
local systems=(dreamcast naomi arcade)
local def
for sys in "${systems[@]}"; do
def=0
Expand Down