From 7861b4c092886fafe9ae7a84020e82ab702aa8f8 Mon Sep 17 00:00:00 2001 From: Malkierian Date: Sat, 13 May 2023 12:33:10 -0700 Subject: [PATCH] Missed `baseBlock` -> `saveBlock` change in WiiU/Switch file writing block XD. --- soh/soh/SaveManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/SaveManager.cpp b/soh/soh/SaveManager.cpp index ab82bd0d2..a5dc6a8c7 100644 --- a/soh/soh/SaveManager.cpp +++ b/soh/soh/SaveManager.cpp @@ -746,7 +746,7 @@ void SaveManager::SaveFileThreaded(int fileNum, SaveContext* saveContext, const #if defined(__SWITCH__) || defined(__WIIU__) 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); fclose(w); #else