mirror of
https://github.com/JesseTG/melonds-ds.git
synced 2025-02-16 12:20:45 +00:00
Rename a function
This commit is contained in:
parent
673c0684c3
commit
fda6c4a8fd
@ -604,7 +604,7 @@ static void melonds::load_games(
|
||||
|
||||
if (!_loaded_nds_cart->GetHeader().IsDSiWare()) {
|
||||
// If this ROM represents a cartridge, rather than DSiWare...
|
||||
sram::InitNdsSram(*_loaded_nds_cart);
|
||||
sram::InitNdsSave(*_loaded_nds_cart);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -157,8 +157,8 @@ retro::task::TaskSpec melonds::sram::FlushGbaSramTask() noexcept {
|
||||
|
||||
// Does not load the NDS SRAM, since retro_get_memory is used for that.
|
||||
// But it will allocate the SRAM buffer
|
||||
void melonds::sram::InitNdsSram(const NdsCart &nds_cart) {
|
||||
ZoneScopedN("melonds::sram::InitNdsSram");
|
||||
void melonds::sram::InitNdsSave(const NdsCart &nds_cart) {
|
||||
ZoneScopedN("melonds::sram::InitNdsSave");
|
||||
using std::runtime_error;
|
||||
if (nds_cart.GetHeader().IsHomebrew()) {
|
||||
// If this is a homebrew ROM...
|
||||
|
@ -34,7 +34,7 @@ struct retro_game_info;
|
||||
namespace melonds::sram {
|
||||
void init();
|
||||
void deinit() noexcept;
|
||||
void InitNdsSram(const NdsCart &nds_cart);
|
||||
void InitNdsSave(const NdsCart &nds_cart);
|
||||
void InitGbaSram(GbaCart& gba_cart, const struct retro_game_info& gba_save_info);
|
||||
void FlushGbaSram(const retro_game_info& gba_save_info) noexcept;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user