jitstate: Use std::array's fill() in ResetRSB
Performs the equivalent behavior
This commit is contained in:
parent
74ee92ee38
commit
cbd99e4367
1 changed files with 1 additions and 3 deletions
|
@ -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<u64>(code->GetReturnFromRunCodeAddress()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue