mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-19 06:49:38 +00:00
jitstate: Use std::array's fill() in ResetRSB
Performs the equivalent behavior
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user