diff --git a/source-code/source/plugins/TLAC/Components/Pause.cpp b/source-code/source/plugins/TLAC/Components/Pause.cpp index 8388b53..1774daa 100644 --- a/source-code/source/plugins/TLAC/Components/Pause.cpp +++ b/source-code/source/plugins/TLAC/Components/Pause.cpp @@ -18,8 +18,10 @@ namespace TLAC::Components unsigned int Pause::mainMenuPos = 0; unsigned int Pause::menuSet = MENUSET_MAIN; std::chrono::time_point Pause::menuItemSelectTime; - std::vector Pause::origAetMovOp = {}; - std::vector Pause::origFramespeedOp = {}; + std::vector Pause::origAetMovOp; + uint8_t* Pause::aetMovPatchAddress = (uint8_t*)0x1401703b3; + std::vector Pause::origFramespeedOp; + uint8_t* Pause::framespeedPatchAddress = (uint8_t*)0x140192D50; std::vector Pause::streamPlayStates; bool(*divaGiveUpFunc)(void*) = (bool(*)(void* cls))GIVEUP_FUNC_ADDRESS; InputState* Pause::inputState; diff --git a/source-code/source/plugins/TLAC/Components/Pause.h b/source-code/source/plugins/TLAC/Components/Pause.h index b9ddc22..d138192 100644 --- a/source-code/source/plugins/TLAC/Components/Pause.h +++ b/source-code/source/plugins/TLAC/Components/Pause.h @@ -35,10 +35,10 @@ namespace TLAC::Components static void saveOldPatchOps(); static std::vector origAetMovOp; - static constexpr uint8_t* aetMovPatchAddress = (uint8_t*)0x1401703b3; + static uint8_t* aetMovPatchAddress; static std::vector origFramespeedOp; - static constexpr uint8_t* framespeedPatchAddress = (uint8_t*)0x140192D50; + static uint8_t* framespeedPatchAddress; static bool hookedGiveUpFunc(void* cls);