Skip to content

Commit ebd360f

Browse files
authored
Merge pull request #3466 from joolswills/lr-stella
Added upstream / current stella libretro core - lr-stella
2 parents 3184924 + 6ceb50d commit ebd360f

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#!/usr/bin/env bash
2+
3+
# This file is part of The RetroPie Project
4+
#
5+
# The RetroPie Project is the legal property of its developers, whose names are
6+
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
7+
#
8+
# See the LICENSE.md file at the top-level directory of this distribution and
9+
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
10+
#
11+
12+
rp_module_id="lr-stella"
13+
rp_module_desc="Atari 2600 emulator - Stella core for libretro"
14+
rp_module_help="ROM Extensions: .a26 .bin .rom .zip .gz\n\nCopy your Atari 2600 roms to $romdir/atari2600"
15+
rp_module_licence="GPL2 https://raw.githubusercontent.com/stella-emu/stella/master/License.txt"
16+
rp_module_repo="git https://github.com/stella-emu/stella.git master"
17+
rp_module_section="exp"
18+
19+
function sources_lr-stella() {
20+
gitPullOrClone
21+
}
22+
23+
function build_lr-stella() {
24+
cd src/libretro
25+
make clean
26+
make LTO=""
27+
md_ret_require="$md_build/src/libretro/stella_libretro.so"
28+
}
29+
30+
function install_lr-stella() {
31+
md_ret_files=(
32+
'README.md'
33+
'src/libretro/stella_libretro.so'
34+
'License.txt'
35+
)
36+
}
37+
38+
function configure_lr-stella() {
39+
mkRomDir "atari2600"
40+
ensureSystemretroconfig "atari2600"
41+
42+
addEmulator 0 "$md_id" "atari2600" "$md_inst/stella_libretro.so"
43+
addSystem "atari2600"
44+
}

0 commit comments

Comments
 (0)