mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2025-04-12 21:51:20 +02:00
Update 64drive.c
use d64_set_bootmode
This commit is contained in:
parent
306be97adf
commit
80bf5b7167
@ -350,14 +350,14 @@ static flashcart_err_t d64_set_save_writeback (char *save_path) {
|
||||
return FLASHCART_OK;
|
||||
}
|
||||
|
||||
// static flashcart_err_t d64_set_bootmode (flashcart_reboot_mode_t boot_mode) {
|
||||
static flashcart_err_t d64_set_bootmode (flashcart_reboot_mode_t boot_mode) {
|
||||
|
||||
// if (d64_ll_set_persistent_variable_storage(true, 0, 0)) {
|
||||
// return FLASHCART_ERR_INT;
|
||||
// }
|
||||
if (d64_ll_set_persistent_variable_storage(true, 0, 0)) {
|
||||
return FLASHCART_ERR_INT;
|
||||
}
|
||||
|
||||
// return FLASHCART_OK;
|
||||
// }
|
||||
return FLASHCART_OK;
|
||||
}
|
||||
|
||||
|
||||
/** @brief Flashcart structure for 64drive. */
|
||||
@ -373,7 +373,7 @@ static flashcart_t flashcart_d64 = {
|
||||
.load_64dd_disk = NULL,
|
||||
.set_save_type = d64_set_save_type,
|
||||
.set_save_writeback = d64_set_save_writeback,
|
||||
.set_next_boot_mode = NULL, // d64_set_bootmode,
|
||||
.set_next_boot_mode = d64_set_bootmode,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user