mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-05 23:07:53 +00:00
34 lines
638 B
C++
34 lines
638 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "common/common.h"
|
|
|
|
#include "core/arm/arm_interface.h"
|
|
#include "core/arm/interpreter/armdefs.h"
|
|
#include "core/arm/interpreter/armemu.h"
|
|
|
|
class ARM_Interpreter : virtual public ARM_Interface {
|
|
public:
|
|
ARM_Interpreter();
|
|
~ARM_Interpreter();
|
|
|
|
void ExecuteInstruction();
|
|
|
|
void SetPC(u32 pc);
|
|
|
|
u32 GetPC() const;
|
|
|
|
u32 GetReg(int index) const;
|
|
|
|
u32 GetCPSR() const;
|
|
|
|
u64 GetTicks() const;
|
|
|
|
private:
|
|
ARMul_State* m_state;
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(ARM_Interpreter);
|
|
};
|