Skip to content

Commit 730b682

Browse files
committed
lr-ep128emu: tidy up the configuration func
1 parent 3c46cb3 commit 730b682

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

scriptmodules/libretrocores/lr-ep128emu.sh

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,11 @@ function install_lr-ep128emu() {
3333
}
3434

3535
function configure_lr-ep128emu() {
36-
mkRomDir "enterprise"
37-
ensureSystemretroconfig "enterprise"
38-
39-
addEmulator 1 "$md_id" "enterprise" "$md_inst/ep128emu_core_libretro.so"
40-
addSystem "enterprise"
41-
42-
mkRomDir "tvc"
43-
ensureSystemretroconfig "tvc"
44-
45-
addEmulator 1 "$md_id" "tvc" "$md_inst/ep128emu_core_libretro.so"
46-
addSystem "tvc"
36+
local system
37+
for system in "enterprise" "tvc"; do
38+
addSystem "$system"
39+
mkRomDir "$system"
40+
ensureSystemretroconfig "$system"
41+
addEmulator 1 "$md_id" "$system" "$md_inst/ep128emu_core_libretro.so"
42+
done
4743
}

0 commit comments

Comments
 (0)