mirror of https://github.com/PCSX2/pcsx2.git
ee: create a dedicated _DynGen_DispatcherEvent function
for consistency of my doc
This commit is contained in:
parent
837b62d5e8
commit
91b2fd3c4a
|
@ -473,6 +473,15 @@ static DynGenFunc* _DynGen_DispatcherReg()
|
|||
return (DynGenFunc*)retval;
|
||||
}
|
||||
|
||||
static DynGenFunc* _DynGen_DispatcherEvent()
|
||||
{
|
||||
u8* retval = xGetPtr();
|
||||
|
||||
xCALL( recEventTest );
|
||||
|
||||
return (DynGenFunc*)retval;
|
||||
}
|
||||
|
||||
static DynGenFunc* _DynGen_EnterRecompiledCode()
|
||||
{
|
||||
pxAssertDev( DispatcherReg != NULL, "Dynamically generated dispatchers are required prior to generating EnterRecompiledCode!" );
|
||||
|
@ -566,8 +575,7 @@ static void _DynGen_Dispatchers()
|
|||
|
||||
// Place the EventTest and DispatcherReg stuff at the top, because they get called the
|
||||
// most and stand to benefit from strong alignment and direct referencing.
|
||||
DispatcherEvent = (DynGenFunc*)xGetPtr();
|
||||
xCALL( recEventTest );
|
||||
DispatcherEvent = _DynGen_DispatcherEvent();
|
||||
DispatcherReg = _DynGen_DispatcherReg();
|
||||
|
||||
JITCompile = _DynGen_JITCompile();
|
||||
|
|
Loading…
Reference in New Issue