More fixes
This commit is contained in:
parent
dee0ba15d4
commit
10efa92153
8 changed files with 99 additions and 39 deletions
|
|
@ -23,10 +23,15 @@ extern "C" {
|
|||
#endif
|
||||
typedef s64 OSTime;
|
||||
typedef u32 OSTick;
|
||||
#ifdef __MWERKS__
|
||||
u32 __OSBusClock AT_ADDRESS(OS_BASE_CACHED | 0x00F8); // sync with OSLoMem.h
|
||||
u32 __OSCoreClock AT_ADDRESS(OS_BASE_CACHED | 0x00FC); // sync with OSLoMem.h
|
||||
#define OS_BUS_CLOCK (u32) __OSBusClock
|
||||
#define OS_CORE_CLOCK __OSCoreClock
|
||||
#else
|
||||
#define OS_BUS_CLOCK 162000000
|
||||
#define OS_BUS_CLOCK 486000000
|
||||
#endif
|
||||
#define OS_TIMER_CLOCK (OS_BUS_CLOCK / 4)
|
||||
|
||||
#ifndef _DEBUG
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue