Missed baseBlock -> saveBlock change in WiiU/Switch file writing block XD.

This commit is contained in:
Malkierian 2023-05-13 12:33:10 -07:00
parent 22531fed27
commit 7861b4c092

View File

@ -746,7 +746,7 @@ void SaveManager::SaveFileThreaded(int fileNum, SaveContext* saveContext, const
#if defined(__SWITCH__) || defined(__WIIU__) #if defined(__SWITCH__) || defined(__WIIU__)
FILE* w = fopen(GetFileName(fileNum).c_str(), "w"); FILE* w = fopen(GetFileName(fileNum).c_str(), "w");
std::string json_string = baseBlock.dump(4); std::string json_string = saveBlock.dump(4);
fwrite(json_string.c_str(), sizeof(char), json_string.length(), w); fwrite(json_string.c_str(), sizeof(char), json_string.length(), w);
fclose(w); fclose(w);
#else #else