EmuCodeBlock: Make farcode and nearcode protected

This is the only context they're used in.
This commit is contained in:
Lioncash 2016-12-19 17:36:26 -05:00
parent 2c8cc0f648
commit e373a48a51
1 changed files with 3 additions and 3 deletions

View File

@ -22,9 +22,6 @@ class Mapping;
class EmuCodeBlock : public Gen::X64CodeBlock
{
public:
FarCodeCache farcode;
u8* nearcode; // Backed up when we switch to far code.
void MemoryExceptionCheck();
// Simple functions to switch between near and far code emitting
@ -108,6 +105,9 @@ public:
void Clear();
protected:
FarCodeCache farcode;
u8* nearcode; // Backed up when we switch to far code.
std::unordered_map<u8*, TrampolineInfo> backPatchInfo;
std::unordered_map<u8*, u8*> exceptionHandlerAtLoc;
};