mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
EmuCodeBlock: Make farcode and nearcode protected
This is the only context they're used in.
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user