Fix possible function pointer initialisation problem
This commit is contained in:
parent
aafb74a6af
commit
595034707b
|
@ -98,7 +98,7 @@ static void(**pRecCP2BSC)() = recCP2BSC;
|
|||
|
||||
|
||||
static void recReset();
|
||||
void recSetPGXPMode(u32 pgxpMode)
|
||||
static void recSetPGXPMode(u32 pgxpMode)
|
||||
{
|
||||
switch(pgxpMode)
|
||||
{
|
||||
|
@ -129,7 +129,7 @@ void recSetPGXPMode(u32 pgxpMode)
|
|||
}
|
||||
|
||||
// set interpreter mode too
|
||||
intSetPGXPMode(pgxpMode);
|
||||
psxInt.SetPGXPMode(pgxpMode);
|
||||
// reset to ensure new func tables are used
|
||||
recReset();
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ static void(**pPsxCP2BSC)() = psxCP2BSC;
|
|||
|
||||
|
||||
static void intReset();
|
||||
void intSetPGXPMode(u32 pgxpMode)
|
||||
static void intSetPGXPMode(u32 pgxpMode)
|
||||
{
|
||||
switch (pgxpMode)
|
||||
{
|
||||
|
|
|
@ -347,7 +347,6 @@ void psxDelayTest(int reg, u32 bpc);
|
|||
void psxTestSWInts();
|
||||
void psxJumpTest();
|
||||
|
||||
void intSetPGXPMode(u32 pgxpMode);
|
||||
void psxSetPGXPMode(u32 pgxpMode);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue