mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-31 00:10:26 -06:00
16 lines
229 B
C
16 lines
229 B
C
#pragma once
|
|
|
|
struct CodeCache
|
|
{
|
|
char* bucket{};
|
|
|
|
CodeCache();
|
|
~CodeCache();
|
|
|
|
void Init();
|
|
void Insert(uint32_t guest, const void* host);
|
|
|
|
void* Find(uint32_t guest) const;
|
|
};
|
|
|
|
extern CodeCache gCodeCache; |