2012-12-19 09:30:18 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
2015-11-10 05:21:49 +00:00
|
|
|
* Project64 - A Nintendo 64 emulator. *
|
2012-12-19 09:30:18 +00:00
|
|
|
* http://www.pj64-emu.com/ *
|
|
|
|
* Copyright (C) 2012 Project64. All rights reserved. *
|
|
|
|
* *
|
|
|
|
* License: *
|
|
|
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
|
2015-12-06 09:59:58 +00:00
|
|
|
#include <Project64-core/N64System/Interpreter/InterpreterOps.h>
|
2015-11-15 00:29:15 +00:00
|
|
|
|
2010-05-30 01:54:42 +00:00
|
|
|
class CInterpreterCPU :
|
2015-11-14 22:08:30 +00:00
|
|
|
private R4300iOp
|
2010-05-25 09:15:19 +00:00
|
|
|
{
|
2010-05-31 00:21:08 +00:00
|
|
|
public:
|
2015-11-14 22:08:30 +00:00
|
|
|
static void BuildCPU();
|
|
|
|
static void ExecuteCPU();
|
2015-11-15 00:29:15 +00:00
|
|
|
static void ExecuteOps(int32_t Cycles);
|
2015-11-14 22:08:30 +00:00
|
|
|
static void InPermLoop();
|
2012-11-19 11:06:01 +00:00
|
|
|
|
2010-05-25 09:15:19 +00:00
|
|
|
private:
|
2015-11-14 22:08:30 +00:00
|
|
|
CInterpreterCPU(); // Disable default constructor
|
|
|
|
CInterpreterCPU(const CInterpreterCPU&); // Disable copy constructor
|
|
|
|
CInterpreterCPU& operator=(const CInterpreterCPU&); // Disable assignment
|
2012-11-19 11:06:01 +00:00
|
|
|
|
2015-11-14 22:08:30 +00:00
|
|
|
static R4300iOp::Func * m_R4300i_Opcode;
|
2010-05-31 00:21:08 +00:00
|
|
|
};
|