forked from Mirror/GodMode9
Fix SCRIPT_RUNNER compiler warnings
This commit is contained in:
parent
5ef4dda899
commit
c92a6fa164
@ -42,11 +42,6 @@ typedef struct {
|
|||||||
u32 scroll;
|
u32 scroll;
|
||||||
} PaneData;
|
} PaneData;
|
||||||
|
|
||||||
// reserve 480kB for DirStruct, 64kB for PaneData, just to be safe
|
|
||||||
static DirStruct* current_dir = (DirStruct*) (DIR_BUFFER + 0x00000);
|
|
||||||
static DirStruct* clipboard = (DirStruct*) (DIR_BUFFER + 0x78000);
|
|
||||||
static PaneData* panedata = (PaneData*) (DIR_BUFFER + 0xF0000);
|
|
||||||
|
|
||||||
|
|
||||||
u32 SplashInit(const char* modestr) {
|
u32 SplashInit(const char* modestr) {
|
||||||
u64 splash_size;
|
u64 splash_size;
|
||||||
@ -79,6 +74,11 @@ u32 SplashInit(const char* modestr) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef SCRIPT_RUNNER
|
#ifndef SCRIPT_RUNNER
|
||||||
|
// reserve 480kB for DirStruct, 64kB for PaneData, just to be safe
|
||||||
|
static DirStruct* current_dir = (DirStruct*) (DIR_BUFFER + 0x00000);
|
||||||
|
static DirStruct* clipboard = (DirStruct*) (DIR_BUFFER + 0x78000);
|
||||||
|
static PaneData* panedata = (PaneData*) (DIR_BUFFER + 0xF0000);
|
||||||
|
|
||||||
void GetTimeString(char* timestr, bool forced_update, bool full_year) {
|
void GetTimeString(char* timestr, bool forced_update, bool full_year) {
|
||||||
static DsTime dstime;
|
static DsTime dstime;
|
||||||
static u64 timer = (u64) -1; // this ensures we don't check the time too often
|
static u64 timer = (u64) -1; // this ensures we don't check the time too often
|
||||||
|
Loading…
x
Reference in New Issue
Block a user