mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 06:01:52 +00:00
ams_mitm: update write handle persist path
This commit is contained in:
parent
9de7b01ee6
commit
aad02cd751
1 changed files with 3 additions and 0 deletions
|
@ -204,6 +204,9 @@ void Utils::InitializeThreadFunc(void *args) {
|
|||
if (IsEmummc()) {
|
||||
const char *emummc_file_path = GetEmummcFilePath();
|
||||
if (emummc_file_path != nullptr) {
|
||||
char emummc_path[0x100] = {0};
|
||||
std::strncpy(emummc_path, emummc_file_path, 0x80);
|
||||
std::strcat(emummc_path, "/eMMC");
|
||||
fsFsOpenFile(&g_sd_filesystem, emummc_file_path, FS_OPEN_READ | FS_OPEN_WRITE, &g_emummc_file);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue