mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-22 02:29:19 +01:00
Fixed exception on reset
This commit is contained in:
parent
8e8f77e55b
commit
d36be317e1
@ -76,8 +76,6 @@ static void menu_init (boot_params_t *boot_params) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void menu_deinit (menu_t *menu) {
|
static void menu_deinit (menu_t *menu) {
|
||||||
display_close();
|
|
||||||
|
|
||||||
// NOTE: Restore previous TV type so boot procedure wouldn't passthrough wrong value.
|
// NOTE: Restore previous TV type so boot procedure wouldn't passthrough wrong value.
|
||||||
TV_TYPE_RAM = tv_type;
|
TV_TYPE_RAM = tv_type;
|
||||||
|
|
||||||
@ -94,6 +92,8 @@ static void menu_deinit (menu_t *menu) {
|
|||||||
audio_close();
|
audio_close();
|
||||||
rtc_close();
|
rtc_close();
|
||||||
timer_close();
|
timer_close();
|
||||||
|
|
||||||
|
display_close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user