fixed some stuff
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ static /*IWRAM_DATA*/ struct {
|
||||
/* 0x0C */ u32 value;
|
||||
} gDma3Requests[128];
|
||||
|
||||
static bool8 gDma3ManagerLocked;
|
||||
static volatile bool8 gDma3ManagerLocked;
|
||||
static u8 gDma3RequestCursor;
|
||||
|
||||
void ClearDma3Requests(void)
|
||||
|
||||
@@ -13,7 +13,7 @@ void sub_8079B7C(void)
|
||||
u16 imeBackup = REG_IME;
|
||||
|
||||
REG_IME = 0;
|
||||
RegisterRamReset(0x00000001);
|
||||
RegisterRamReset(RESET_EWRAM);
|
||||
ClearGpuRegBits(REG_OFFSET_DISPCNT, DISPCNT_FORCED_BLANK);
|
||||
REG_IME = imeBackup;
|
||||
gMain.inBattle = FALSE;
|
||||
|
||||
@@ -50,7 +50,6 @@ static int getline(char ** lineptr, size_t * n, FILE * stream) {
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
static void getIncbinsFromFile(hunk_t ** hunks, size_t * num, size_t * maxnum, const char * fname, char ** strbuf, size_t * buffersize) {
|
||||
// Recursively find incbinned segments and encode them as hunks.
|
||||
FILE * file = fopen(fname, "r");
|
||||
|
||||
Reference in New Issue
Block a user