Skip to content

Commit

Permalink
Add missing args in KeyValues_LoadFromFile.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Feb 1, 2024
1 parent bc3a5e3 commit ef32d6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Plugins/CaptionMod/GameUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class CVGUI2Extension_GameUIKeyValuesCallbacks : public IVGUI2Extension_GameUIKe
return 0;
}

void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, VGUI2Extension_CallbackContext* CallbackContext)
void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, const char *sourceModule, VGUI2Extension_CallbackContext* CallbackContext)
{
#if 0
if (CallbackContext->IsPost && !stricmp(resourceName, "resource/GameMenu.res"))
Expand Down
2 changes: 1 addition & 1 deletion Plugins/Renderer/GameUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class CVGUI2Extension_GameUIKeyValuesCallbacks : public IVGUI2Extension_GameUIKe
return 0;
}

void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, VGUI2Extension_CallbackContext* CallbackContext)
void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, const char* sourceModule, VGUI2Extension_CallbackContext* CallbackContext)
{

}
Expand Down
2 changes: 1 addition & 1 deletion Plugins/SCModelDownloader/GameUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ class CVGUI2Extension_GameUIKeyValuesCallbacks : public IVGUI2Extension_GameUIKe
return 0;
}

void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, VGUI2Extension_CallbackContext* CallbackContext)
void KeyValues_LoadFromFile(void*& pthis, IFileSystem*& pFileSystem, const char*& resourceName, const char*& pathId, const char* sourceModule, VGUI2Extension_CallbackContext* CallbackContext)
{

}
Expand Down

0 comments on commit ef32d6f

Please sign in to comment.