mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
treat OS_IF2 as 16-bit register
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@16 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
9f2bdac23f
commit
64fe254191
@ -11,8 +11,8 @@
|
||||
in whole or in part, without the prior written consent of Nintendo.
|
||||
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
$Rev$
|
||||
$Author$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <firm/os.h>
|
||||
#include <firm/mi.h>
|
||||
@ -36,7 +36,7 @@ void OSi_Finalize(void)
|
||||
reg_OS_IF = 0xffffffff;
|
||||
#ifdef SDK_ARM7
|
||||
reg_OS_IE2 = 0;
|
||||
reg_OS_IF2 = 0xffffffff;
|
||||
reg_OS_IF2 = 0xffff;
|
||||
#else // SDK_ARM9
|
||||
(void)OS_DisableInterrupts();
|
||||
DC_Disable();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user