diff --git a/src/backend_x64/jitstate.cpp b/src/backend_x64/jitstate.cpp index bb5cfc4c..92b7d957 100644 --- a/src/backend_x64/jitstate.cpp +++ b/src/backend_x64/jitstate.cpp @@ -15,9 +15,7 @@ namespace Dynarmic { namespace BackendX64 { void JitState::ResetRSB(const BlockOfCode* code) { - for (auto& value : rsb_codeptrs) { - value = u64(code->GetReturnFromRunCodeAddress()); - } + rsb_codeptrs.fill(reinterpret_cast(code->GetReturnFromRunCodeAddress())); } /**