mirror of
https://github.com/bryanthaboi/gen1recomp.git
synced 2026-08-18 19:54:21 +02:00
CLOSES #806, CLOSES #809, CLOSES #853, CLOSES #854, CLOSES #860, CLOSES #862, CLOSES #865, CLOSES #866
This commit is contained in:
@@ -2459,6 +2459,13 @@ function RomImporter:_openSettings()
|
||||
if ok and model then self._settings = model end
|
||||
end
|
||||
|
||||
-- Quit from the launcher's own X. It goes through love.event.quit so main.lua's
|
||||
-- love.quit hook still runs: that is where the worker threads are shut down
|
||||
-- (#339) and where a launcher close is told apart from a running game's (#785).
|
||||
function RomImporter:_quitApp()
|
||||
if love.event and love.event.quit then love.event.quit() end
|
||||
end
|
||||
|
||||
function RomImporter:_closeSettings()
|
||||
if self._settings then self._settings.save() end
|
||||
self._settings = nil
|
||||
|
||||
Reference in New Issue
Block a user