diff --git a/source-code/source/plugins/TLAC/Components/Pause.cpp b/source-code/source/plugins/TLAC/Components/Pause.cpp index c4f18da..7372301 100644 --- a/source-code/source/plugins/TLAC/Components/Pause.cpp +++ b/source-code/source/plugins/TLAC/Components/Pause.cpp @@ -41,10 +41,10 @@ namespace TLAC::Components void Pause::saveOldPatchOps() { origAetMovOp.resize(8); - memcpy(&origAetMovOp[0], aetMovPatchAddress, 8); + memcpy(origAetMovOp.data(), aetMovPatchAddress, 8); origFramespeedOp.resize(4); - memcpy(&origFramespeedOp[0], framespeedPatchAddress, 4); + memcpy(origFramespeedOp.data(), framespeedPatchAddress, 4); } void Pause::Initialize(ComponentsManager*)