Quite app if window closed

This commit is contained in:
tudnai 2021-05-16 18:58:01 -07:00
parent 487a99cc50
commit bc32e23c77

View File

@ -28,6 +28,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
var preferencesController : PreferencesWindowController?
func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
return true
}
@IBAction func ROM_Selected(_ sender: NSMenuItem) {
if let menuIdentifier = sender.identifier {
// rom_loadFile( Bundle.main.resourcePath, menuIdentifier.rawValue + ".rom" )