From ddbebd711153b9114b74d7081d5cfda4f71d1fd3 Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Thu, 4 Dec 2003 22:33:24 +0000 Subject: [PATCH] Fix ExecutePPC() merge with new SheepRoutineDescriptor --- SheepShaver/src/Unix/main_unix.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SheepShaver/src/Unix/main_unix.cpp b/SheepShaver/src/Unix/main_unix.cpp index abca729d..bacb625c 100644 --- a/SheepShaver/src/Unix/main_unix.cpp +++ b/SheepShaver/src/Unix/main_unix.cpp @@ -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