diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-02 03:40:10 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-02 03:40:10 +0200 |
commit | e8a17ee6fdf7ab653be32f52afb10f0dafdf61c1 (patch) | |
tree | c8396f428819e31dbf2ae568538140e44d2bc27c /src/core/arm/interpreter/arm_interpreter.cpp | |
parent | svc: cleaned up function_wrappers, updated various SVCs to make use of pointer arguments (diff) | |
download | yuzu-e8a17ee6fdf7ab653be32f52afb10f0dafdf61c1.tar yuzu-e8a17ee6fdf7ab653be32f52afb10f0dafdf61c1.tar.gz yuzu-e8a17ee6fdf7ab653be32f52afb10f0dafdf61c1.tar.bz2 yuzu-e8a17ee6fdf7ab653be32f52afb10f0dafdf61c1.tar.lz yuzu-e8a17ee6fdf7ab653be32f52afb10f0dafdf61c1.tar.xz yuzu-e8a17ee6fdf7ab653be32f52afb10f0dafdf61c1.tar.zst yuzu-e8a17ee6fdf7ab653be32f52afb10f0dafdf61c1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/interpreter/arm_interpreter.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/arm/interpreter/arm_interpreter.cpp b/src/core/arm/interpreter/arm_interpreter.cpp index 17f787b86..2aa100e86 100644 --- a/src/core/arm/interpreter/arm_interpreter.cpp +++ b/src/core/arm/interpreter/arm_interpreter.cpp @@ -140,3 +140,8 @@ void ARM_Interpreter::LoadContext(const ThreadContext& ctx) { state->Reg[15] = ctx.pc; state->NextInstr = RESUME; } + +/// Prepare core for thread reschedule (if needed to correctly handle state) +void ARM_Interpreter::PrepareReschedule() { + state->NumInstrsToExecute = 0; +} |