diff options
author | RSDuck <rsduck@users.noreply.github.com> | 2019-08-17 16:50:48 +0200 |
---|---|---|
committer | RSDuck <rsduck@users.noreply.github.com> | 2020-04-26 13:04:59 +0200 |
commit | 3001d9492c6e7e83e82843a4b9c6186b0b58f5e5 (patch) | |
tree | 87ba6724548a3711ba59776e01e01e9102b920e8 /src/ARM.h | |
parent | ec21172cd9932805f02d84f41599c7a23e3b23f5 (diff) |
abandon pipelining on jit
fixes Golden Sun Dawn
this makes the cpu state incompatible between interpreter and JIT. That's why switching cpu mode requires a restart(not requiring is stupid anyway) and the pipeline is manually filled when making a save state.
Diffstat (limited to 'src/ARM.h')
-rw-r--r-- | src/ARM.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -42,6 +42,8 @@ public: virtual void DoSavestate(Savestate* file); + virtual void FillPipeline() = 0; + virtual void JumpTo(u32 addr, bool restorecpsr = false) = 0; void RestoreCPSR(); @@ -148,6 +150,8 @@ public: void UpdateRegionTimings(u32 addrstart, u32 addrend); + void FillPipeline(); + void JumpTo(u32 addr, bool restorecpsr = false); void PrefetchAbort(); @@ -272,6 +276,8 @@ class ARMv4 : public ARM public: ARMv4(); + void FillPipeline(); + void JumpTo(u32 addr, bool restorecpsr = false); void Execute(); |