mirror of
https://github.com/LNH-team/dspico-bootloader.git
synced 2026-06-02 17:16:48 +02:00
Initial commit
This commit is contained in:
13
arm9/source/core/Environment.cpp
Normal file
13
arm9/source/core/Environment.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <nds.h>
|
||||
#include "Environment.h"
|
||||
|
||||
u32 Environment::_flags;
|
||||
|
||||
void Environment::Initialize()
|
||||
{
|
||||
_flags = ENVIRONMENT_FLAGS_NONE;
|
||||
if (isDSiMode())
|
||||
{
|
||||
_flags |= ENVIRONMENT_FLAGS_DSI_MODE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user