File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
scriptmodules/libretrocores Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 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-wasm4"
13+ rp_module_desc=" WebAssembly (WASM-4)"
14+ rp_module_help=" ROM Extensions: .wasm .WASM"
15+ rp_module_repo=" git https://github.com/aduros/wasm4.git main"
16+ rp_module_section=" exp"
17+
18+ function sources_lr-wasm4() {
19+ gitPullOrClone
20+ }
21+
22+ function build_lr-wasm4() {
23+ cd runtimes/native
24+ cmake -B build
25+ cmake --build build
26+ }
27+
28+ function install_lr-wasm4() {
29+ md_ret_files=(
30+ ' runtimes/native/build/wasm4_libretro.so'
31+ )
32+ }
33+
34+ function configure_lr-wasm4() {
35+ mkRomDir " wasm4"
36+
37+ mkUserDir " $md_conf_root /wasm4"
38+
39+ addEmulator 1 " $md_id " " wasm4" " $md_inst /wasm4_libretro.so"
40+ addSystem " wasm4" " Wasm4" " .zip .ZIP .wasm .WASM"
41+ }
You can’t perform that action at this time.
0 commit comments