mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-08 08:00:01 +01:00
jitstate: Use std::array's fill() in ResetRSB
Performs the equivalent behavior
This commit is contained in:
parent
74ee92ee38
commit
cbd99e4367
@ -15,9 +15,7 @@ namespace Dynarmic {
|
|||||||
namespace BackendX64 {
|
namespace BackendX64 {
|
||||||
|
|
||||||
void JitState::ResetRSB(const BlockOfCode* code) {
|
void JitState::ResetRSB(const BlockOfCode* code) {
|
||||||
for (auto& value : rsb_codeptrs) {
|
rsb_codeptrs.fill(reinterpret_cast<u64>(code->GetReturnFromRunCodeAddress()));
|
||||||
value = u64(code->GetReturnFromRunCodeAddress());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user