mirror of
https://github.com/N64Recomp/N64ModernRuntime.git
synced 2026-05-10 19:01:53 +00:00
Some other fixes
This commit is contained in:
parent
b8a872e4e7
commit
edcb97422b
2 changed files with 2 additions and 2 deletions
|
|
@ -94,10 +94,9 @@ struct {
|
|||
} save_context;
|
||||
|
||||
const std::u8string save_folder = u8"saves";
|
||||
const std::u8string save_filename = std::u8string{recomp::current_game_id()} + u8".bin";
|
||||
|
||||
std::filesystem::path get_save_file_path() {
|
||||
return recomp::get_app_folder_path() / save_folder / save_filename;
|
||||
return recomp::get_app_folder_path() / save_folder / (std::u8string{recomp::current_game_id()} + u8".bin");
|
||||
}
|
||||
|
||||
void update_save_file() {
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ bool recomp::register_game(const recomp::GameEntry& entry) {
|
|||
|
||||
void recomp::register_patch(const char* patch, std::size_t size) {
|
||||
std::lock_guard<std::mutex> lock(patch_data_mutex);
|
||||
patch_data.resize(size);
|
||||
std::memcpy(patch_data.data(), patch, size);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue