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