mirror of https://github.com/PCSX2/pcsx2.git
recompiler: Add comments to recLUT_SetPage
It's kind of confusing
This commit is contained in:
parent
dc57270fb8
commit
0711e0cd52
|
@ -230,6 +230,12 @@ public:
|
|||
|
||||
#define PC_GETBLOCK_(x, reclut) ((BASEBLOCK*)(reclut[((u32)(x)) >> 16] + (x)*(sizeof(BASEBLOCK)/4)))
|
||||
|
||||
/**
|
||||
* Add a page to the recompiler lookup table
|
||||
*
|
||||
* Will associate `reclut[pagebase + pageidx]` with `mapbase[mappage << 14]`
|
||||
* Will associate `hwlut[pagebase + pageidx]` with `pageidx << 16`
|
||||
*/
|
||||
static void recLUT_SetPage(uptr reclut[0x10000], u32 hwlut[0x10000],
|
||||
BASEBLOCK *mapbase, uint pagebase, uint pageidx, uint mappage)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue