DSPEmitter: In-class initialize variables
This commit is contained in:
parent
1af9f68240
commit
400d5f6940
|
@ -22,7 +22,7 @@
|
|||
|
||||
using namespace Gen;
|
||||
|
||||
DSPEmitter::DSPEmitter() : gpr(*this), storeIndex(-1), storeIndex2(-1)
|
||||
DSPEmitter::DSPEmitter()
|
||||
{
|
||||
AllocCodeSpace(COMPILED_CODE_SIZE);
|
||||
|
||||
|
|
|
@ -247,7 +247,7 @@ public:
|
|||
u16* blockSize;
|
||||
std::list<u16> unresolvedJumps[MAX_BLOCKS];
|
||||
|
||||
DSPJitRegCache gpr;
|
||||
DSPJitRegCache gpr{*this};
|
||||
|
||||
private:
|
||||
DSPCompiledCode* blocks;
|
||||
|
@ -255,8 +255,8 @@ private:
|
|||
u16 compileSR;
|
||||
|
||||
// The index of the last stored ext value (compile time).
|
||||
int storeIndex;
|
||||
int storeIndex2;
|
||||
int storeIndex = -1;
|
||||
int storeIndex2 = -1;
|
||||
|
||||
// Counts down.
|
||||
// int cycles;
|
||||
|
|
Loading…
Reference in New Issue