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