DSPEmitter: In-class initialize variables

This commit is contained in:
Lioncash 2016-12-26 18:07:15 -05:00
parent 1af9f68240
commit 400d5f6940
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@
using namespace Gen;
DSPEmitter::DSPEmitter() : gpr(*this), storeIndex(-1), storeIndex2(-1)
DSPEmitter::DSPEmitter()
{
AllocCodeSpace(COMPILED_CODE_SIZE);

View File

@ -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;