We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 239ac5c commit 88f43dcCopy full SHA for 88f43dc
1 file changed
menu/scene_main.go
@@ -37,7 +37,13 @@ func buildMainMenu() Scene {
37
menu.stack = append(menu.stack, buildExplorer(
38
"cores",
39
[]string{".dll", ".dylib", ".so"},
40
- core.Load,
+ func(path string) error {
41
+ err := core.Load(path)
42
+ if err == nil {
43
+ notifications.DisplayAndLog("Core", "Core loaded.")
44
+ }
45
+ return err
46
+ },
47
nil,
48
))
49
},
0 commit comments