Fix ExecutePPC() merge with new SheepRoutineDescriptor

This commit is contained in:
gbeauche 2003-12-04 22:33:24 +00:00
parent 779b4858d2
commit ddbebd7111

View File

@ -967,9 +967,9 @@ void Execute68kTrap(uint16 trap, M68kRegisters *r)
void ExecutePPC(void (*func)())
{
uint32 tvect[2] = {(uint32)func, 0}; // Fake TVECT
SheepRoutineDescriptor desc(0, tvect);
SheepRoutineDescriptor desc(0, (uint32)tvect);
M68kRegisters r;
Execute68k((uint32)&desc, &r);
Execute68k(desc.addr(), &r);
}
#endif