mirror of
https://github.com/Polprzewodnikowy/N64FlashcartMenu.git
synced 2024-11-25 03:56:54 +01:00
make sure sram128 and fram are 128kb
This commit is contained in:
parent
a88e1f0b7e
commit
620a9e9ea1
@ -240,10 +240,10 @@ static flashcart_err_t ed64_load_save (char *save_path) {
|
||||
case SAVE_TYPE_SRAM:
|
||||
ed64_ll_set_sram(cartsave_data, save_size);
|
||||
case SAVE_TYPE_SRAM_128K:
|
||||
ed64_ll_set_sram_128(cartsave_data, save_size);
|
||||
ed64_ll_set_sram_128(cartsave_data, KiB(128));
|
||||
break;
|
||||
case SAVE_TYPE_FLASHRAM:
|
||||
ed64_ll_set_fram(cartsave_data, save_size);
|
||||
ed64_ll_set_fram(cartsave_data, KiB(128));
|
||||
// a cold and warm boot has no way of seeing save types and most types can be determined by size
|
||||
// this tells the cart to use flash instead of sram 128 since they are the same size
|
||||
current_state.is_fram_save_type = true;
|
||||
|
Loading…
Reference in New Issue
Block a user