mirror of
https://github.com/notwa/mm
synced 2024-06-30 22:07:11 -07:00
fixed soft reset
This commit is contained in:
parent
f45745d8b8
commit
20901442ba
|
@ -81,7 +81,8 @@ local soft_reset = Callbacks()
|
||||||
function soft_reset:on()
|
function soft_reset:on()
|
||||||
addrs.warp_begin(0x14)
|
addrs.warp_begin(0x14)
|
||||||
addrs.warp_destination(0x1C00)
|
addrs.warp_destination(0x1C00)
|
||||||
--AL(0x3F48, 2)(0xFFFA) -- doesn't really do anything?
|
addrs.fade_type(0x0B)
|
||||||
|
addrs.entrance_mod_setter(0xFFFA)
|
||||||
end
|
end
|
||||||
|
|
||||||
local save_pos = Callbacks()
|
local save_pos = Callbacks()
|
||||||
|
@ -252,8 +253,8 @@ local main_menu = Menu{
|
||||||
Text(""),
|
Text(""),
|
||||||
Oneshot("Kill Transitions", kill_fades),
|
Oneshot("Kill Transitions", kill_fades),
|
||||||
Text(""),
|
Text(""),
|
||||||
--Oneshot("Soft Reset (Warp to Title)", soft_reset),
|
Oneshot("Soft Reset (Warp to Title)", soft_reset),
|
||||||
--Text(""),
|
Text(""),
|
||||||
Back(),
|
Back(),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user