mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
(更新:Kawase Tomohiro) UTL_SetFatalError()を割り込み禁止にする。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2333 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
48281ae97c
commit
e28c4a8207
@ -287,7 +287,9 @@ BOOL UTL_CheckNintendoLogoData( ROM_Header_Short *rh )
|
|||||||
// FATALエラーをセット
|
// FATALエラーをセット
|
||||||
void UTL_SetFatalError( FatalErrorCode error )
|
void UTL_SetFatalError( FatalErrorCode error )
|
||||||
{
|
{
|
||||||
|
OSIntrMode enable = OS_DisableInterrupts();
|
||||||
s_fatalError |= (u64)1 << error;
|
s_fatalError |= (u64)1 << error;
|
||||||
|
OS_RestoreInterrupts( enable );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user