audio update and return to launcher

This commit is contained in:
bryanthaboi
2026-09-17 09:42:08 -04:00
parent a820875208
commit 84d0ea8616
10 changed files with 638 additions and 405 deletions
+1 -3
View File
@@ -521,9 +521,7 @@ function bootGame(version, cartId, opts)
local loadOpts = { arena = arena, cartId = cartId, onExit = opts.onExit }
if GameVersion.generation() == 3 then
Game = require("src.core.Game3").new()
if arena then
Game.returnToLauncher = function(o) pendingLauncherReturn = o or {} end
end
Game.returnToLauncher = function(o) pendingLauncherReturn = o or {} end
Game:load(loadOpts)
elseif GameVersion.generation() == 2 then
Game = require("src.core.Game2").new()