mirror of
https://github.com/rvtr/twl_wrapsdk.git
synced 2025-10-31 06:11:10 -04:00
fix OSi_ChangeSpeedOfARM9 for thumb build.
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@305 4ee2a332-4b2b-5046-8439-1ba90f034370
This commit is contained in:
parent
1c63ba713c
commit
af7d7ccdb6
@ -412,6 +412,7 @@ void OS_WaitVBlankIntr(void)
|
||||
*---------------------------------------------------------------------------*/
|
||||
typedef void (*OSi_ChangeSpeedOfARM9Entry)( OSSpeedOfARM9 clock );
|
||||
|
||||
#include <nitro/code32.h>
|
||||
static asm void OSi_ChangeSpeedOfARM9Core( OSSpeedOfARM9 clock )
|
||||
{
|
||||
ldr r3, =REG_CLK_ADDR
|
||||
@ -430,6 +431,7 @@ static asm void OSi_ChangeSpeedOfARM9Core( OSSpeedOfARM9 clock )
|
||||
|
||||
ltorg
|
||||
}
|
||||
#include <nitro/codereset.h>
|
||||
|
||||
void OS_ChangeSpeedOfARM9( OSSpeedOfARM9 clock, void* itcm )
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user