diff --git a/libultraship b/libultraship index 26cd6b45e..9d83e108a 160000 --- a/libultraship +++ b/libultraship @@ -1 +1 @@ -Subproject commit 26cd6b45e6d9614c0223f238734e70b8b85b1758 +Subproject commit 9d83e108a5b15dc2f8631b9dd754308abd798270 diff --git a/soh/soh/SaveManager.cpp b/soh/soh/SaveManager.cpp index df4fe8ff0..99ec2026c 100644 --- a/soh/soh/SaveManager.cpp +++ b/soh/soh/SaveManager.cpp @@ -761,7 +761,7 @@ void SaveManager::SaveFile(int fileNum) { // Can't think of any time the promise would be needed, so use push_task instead of submit auto saveContext = new SaveContext; memcpy(saveContext, &gSaveContext, sizeof(gSaveContext)); - smThreadPool->push_task(&SaveManager::SaveFileThreaded, this, fileNum, saveContext); + smThreadPool->push_task_back(&SaveManager::SaveFileThreaded, this, fileNum, saveContext); } void SaveManager::SaveGlobal() {