Interpreter: make some class members private
This commit is contained in:
parent
a9a15690a2
commit
3c46c0ede9
|
@ -206,7 +206,6 @@ public:
|
||||||
static void stwcxd(UGeckoInstruction _inst);
|
static void stwcxd(UGeckoInstruction _inst);
|
||||||
static void stwux(UGeckoInstruction _inst);
|
static void stwux(UGeckoInstruction _inst);
|
||||||
static void stwx(UGeckoInstruction _inst);
|
static void stwx(UGeckoInstruction _inst);
|
||||||
static void sync(UGeckoInstruction _inst);
|
|
||||||
static void tlbia(UGeckoInstruction _inst);
|
static void tlbia(UGeckoInstruction _inst);
|
||||||
static void tlbie(UGeckoInstruction _inst);
|
static void tlbie(UGeckoInstruction _inst);
|
||||||
static void tlbsync(UGeckoInstruction _inst);
|
static void tlbsync(UGeckoInstruction _inst);
|
||||||
|
@ -281,15 +280,26 @@ public:
|
||||||
static void mcrf(UGeckoInstruction _inst);
|
static void mcrf(UGeckoInstruction _inst);
|
||||||
static void rfi(UGeckoInstruction _inst);
|
static void rfi(UGeckoInstruction _inst);
|
||||||
static void rfid(UGeckoInstruction _inst);
|
static void rfid(UGeckoInstruction _inst);
|
||||||
// static void sync(UGeckoInstruction _inst);
|
static void sync(UGeckoInstruction _inst);
|
||||||
static void isync(UGeckoInstruction _inst);
|
static void isync(UGeckoInstruction _inst);
|
||||||
|
|
||||||
|
static _interpreterInstruction m_opTable[64];
|
||||||
|
static _interpreterInstruction m_opTable4[1024];
|
||||||
|
static _interpreterInstruction m_opTable19[1024];
|
||||||
|
static _interpreterInstruction m_opTable31[1024];
|
||||||
|
static _interpreterInstruction m_opTable59[32];
|
||||||
|
static _interpreterInstruction m_opTable63[1024];
|
||||||
|
|
||||||
|
// singleton
|
||||||
|
static Interpreter* getInstance();
|
||||||
|
|
||||||
static void RunTable4(UGeckoInstruction _instCode);
|
static void RunTable4(UGeckoInstruction _instCode);
|
||||||
static void RunTable19(UGeckoInstruction _instCode);
|
static void RunTable19(UGeckoInstruction _instCode);
|
||||||
static void RunTable31(UGeckoInstruction _instCode);
|
static void RunTable31(UGeckoInstruction _instCode);
|
||||||
static void RunTable59(UGeckoInstruction _instCode);
|
static void RunTable59(UGeckoInstruction _instCode);
|
||||||
static void RunTable63(UGeckoInstruction _instCode);
|
static void RunTable63(UGeckoInstruction _instCode);
|
||||||
|
|
||||||
|
private:
|
||||||
// flag helper
|
// flag helper
|
||||||
static void Helper_UpdateCR0(u32 _uValue);
|
static void Helper_UpdateCR0(u32 _uValue);
|
||||||
static void Helper_UpdateCR1(double _fValue);
|
static void Helper_UpdateCR1(double _fValue);
|
||||||
|
@ -310,22 +320,6 @@ public:
|
||||||
// other helper
|
// other helper
|
||||||
static u32 Helper_Mask(int mb, int me);
|
static u32 Helper_Mask(int mb, int me);
|
||||||
|
|
||||||
static _interpreterInstruction m_opTable[64];
|
|
||||||
static _interpreterInstruction m_opTable4[1024];
|
|
||||||
static _interpreterInstruction m_opTable19[1024];
|
|
||||||
static _interpreterInstruction m_opTable31[1024];
|
|
||||||
static _interpreterInstruction m_opTable59[32];
|
|
||||||
static _interpreterInstruction m_opTable63[1024];
|
|
||||||
|
|
||||||
// singleton
|
|
||||||
static Interpreter *getInstance();
|
|
||||||
|
|
||||||
private:
|
|
||||||
Interpreter() { }
|
|
||||||
~Interpreter() { }
|
|
||||||
Interpreter(const Interpreter &);
|
|
||||||
Interpreter & operator=(const Interpreter &);
|
|
||||||
|
|
||||||
static void Helper_FloatCompareOrdered(UGeckoInstruction _inst, double a, double b);
|
static void Helper_FloatCompareOrdered(UGeckoInstruction _inst, double a, double b);
|
||||||
static void Helper_FloatCompareUnordered(UGeckoInstruction _inst, double a, double b);
|
static void Helper_FloatCompareUnordered(UGeckoInstruction _inst, double a, double b);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue