Rename CriticalSection wrapper functions to match std::mutex usage
EnterCallbackIdCriticalSection/LeaveCallbackIdCriticalSection -> lockCallbackScenes/unlockCallbackScenes, EnterSaveNotificationSection/LeaveSaveNotificationSection -> lockSaveNotification/unlockSaveNotification, m_saveNotificationCriticalSection -> m_saveNotificationMutex.
This commit is contained in:
1 parent
e4520df31f
commit
a513fa7597
7 files changed
+18
-18
No files matched your search
@@ -1442,7 +1442,7 @@ int UIScene_LoadOrJoinMenu::DeleteSaveDialogReturned(
|
||||
}
|
||||
|
||||
int UIScene_LoadOrJoinMenu::DeleteSaveDataReturned(void* lpParam, bool bRes) {
|
||||
ui.EnterCallbackIdCriticalSection();
|
||||
ui.lockCallbackScenes();
|
||||
UIScene_LoadOrJoinMenu* pClass =
|
||||
(UIScene_LoadOrJoinMenu*)ui.GetSceneFromCallbackId((size_t)lpParam);
|
||||
|
||||
@@ -1455,7 +1455,7 @@ int UIScene_LoadOrJoinMenu::DeleteSaveDataReturned(void* lpParam, bool bRes) {
|
||||
|
||||
pClass->updateTooltips();
|
||||
}
|
||||
ui.LeaveCallbackIdCriticalSection();
|
||||
ui.unlockCallbackScenes();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user