File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed
scriptmodules/libretrocores Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -49,23 +49,6 @@ function install_lr-fbneo() {
49
49
}
50
50
51
51
function configure_lr-fbneo() {
52
- local dir
53
- for dir in arcade fba neogeo; do
54
- mkRomDir " $dir "
55
- ensureSystemretroconfig " $dir "
56
- done
57
-
58
- # Create samples directory
59
- mkUserDir " $biosdir /fbneo"
60
- mkUserDir " $biosdir /fbneo/samples"
61
-
62
- # copy hiscore.dat
63
- cp " $md_inst /metadata/hiscore.dat" " $biosdir /fbneo/"
64
- chown $user :$user " $biosdir /fbneo/hiscore.dat"
65
-
66
- # Set core options
67
- setRetroArchCoreOption " fbneo-diagnostic-input" " Hold Start"
68
-
69
52
local def=1
70
53
isPlatform " armv6" && def=0
71
54
addEmulator 0 " $md_id " " arcade" " $md_inst /fbneo_libretro.so"
@@ -106,4 +89,23 @@ function configure_lr-fbneo() {
106
89
addSystem " nes"
107
90
addSystem " ngp"
108
91
addSystem " ngpc"
92
+
93
+ [[ " $md_mode " == " remove" ]] && return
94
+
95
+ local dir
96
+ for dir in arcade fba neogeo; do
97
+ mkRomDir " $dir "
98
+ ensureSystemretroconfig " $dir "
99
+ done
100
+
101
+ # Create samples directory
102
+ mkUserDir " $biosdir /fbneo"
103
+ mkUserDir " $biosdir /fbneo/samples"
104
+
105
+ # copy hiscore.dat
106
+ cp " $md_inst /metadata/hiscore.dat" " $biosdir /fbneo/"
107
+ chown $user :$user " $biosdir /fbneo/hiscore.dat"
108
+
109
+ # Set core options
110
+ setRetroArchCoreOption " fbneo-diagnostic-input" " Hold Start"
109
111
}
You can’t perform that action at this time.
0 commit comments