1
0
Fork 0
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:
Michael Scire 2019-06-15 07:57:50 -07:00
parent 9de7b01ee6
commit aad02cd751

View file

@ -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);
}
}