mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-03-12 22:56:52 +01:00
EmuCodeBlock: Make farcode and nearcode protected
This is the only context they're used in.
This commit is contained in:
parent
2c8cc0f648
commit
e373a48a51
@ -22,9 +22,6 @@ class Mapping;
|
|||||||
class EmuCodeBlock : public Gen::X64CodeBlock
|
class EmuCodeBlock : public Gen::X64CodeBlock
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
FarCodeCache farcode;
|
|
||||||
u8* nearcode; // Backed up when we switch to far code.
|
|
||||||
|
|
||||||
void MemoryExceptionCheck();
|
void MemoryExceptionCheck();
|
||||||
|
|
||||||
// Simple functions to switch between near and far code emitting
|
// Simple functions to switch between near and far code emitting
|
||||||
@ -108,6 +105,9 @@ public:
|
|||||||
void Clear();
|
void Clear();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
FarCodeCache farcode;
|
||||||
|
u8* nearcode; // Backed up when we switch to far code.
|
||||||
|
|
||||||
std::unordered_map<u8*, TrampolineInfo> backPatchInfo;
|
std::unordered_map<u8*, TrampolineInfo> backPatchInfo;
|
||||||
std::unordered_map<u8*, u8*> exceptionHandlerAtLoc;
|
std::unordered_map<u8*, u8*> exceptionHandlerAtLoc;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user