mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-27 00:29:40 +00:00
Fixes for GCC 3.4
This commit is contained in:
parent
d10a3586f1
commit
8b66b778e6
@ -339,10 +339,10 @@ struct SheepRoutineDescriptor
|
|||||||
Mac_memset(desc, 0, sizeof(RoutineDescriptor));
|
Mac_memset(desc, 0, sizeof(RoutineDescriptor));
|
||||||
WriteMacInt16(desc + offsetof(RoutineDescriptor, goMixedModeTrap), 0xAAFE);
|
WriteMacInt16(desc + offsetof(RoutineDescriptor, goMixedModeTrap), 0xAAFE);
|
||||||
WriteMacInt8 (desc + offsetof(RoutineDescriptor, version), 7);
|
WriteMacInt8 (desc + offsetof(RoutineDescriptor, version), 7);
|
||||||
WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords[0].procInfo), procInfo);
|
WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, procInfo), procInfo);
|
||||||
WriteMacInt8 (desc + offsetof(RoutineDescriptor, routineRecords[0].ISA), 1);
|
WriteMacInt8 (desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, ISA), 1);
|
||||||
WriteMacInt16(desc + offsetof(RoutineDescriptor, routineRecords[0].routineFlags), 0 | 0 | 4);
|
WriteMacInt16(desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, routineFlags), 0 | 0 | 4);
|
||||||
WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords[0].procDescriptor), procedure);
|
WriteMacInt32(desc + offsetof(RoutineDescriptor, routineRecords) + offsetof(RoutineRecord, procDescriptor), procedure);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user