mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 11:44:17 +01:00
Initialize save to empty in test runner (#3215)
This commit is contained in:
parent
42992ca5ce
commit
f6e6a1f383
@ -2,6 +2,7 @@
|
|||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "characters.h"
|
#include "characters.h"
|
||||||
#include "gpu_regs.h"
|
#include "gpu_regs.h"
|
||||||
|
#include "load_save.h"
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "malloc.h"
|
#include "malloc.h"
|
||||||
#include "random.h"
|
#include "random.h"
|
||||||
@ -114,6 +115,10 @@ void CB2_TestRunner(void)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MoveSaveBlocks_ResetHeap();
|
||||||
|
ClearSav1();
|
||||||
|
ClearSav2();
|
||||||
|
|
||||||
gIntrTable[7] = Intr_Timer2;
|
gIntrTable[7] = Intr_Timer2;
|
||||||
|
|
||||||
// The current test restarted the ROM (e.g. by jumping to NULL).
|
// The current test restarted the ROM (e.g. by jumping to NULL).
|
||||||
|
Loading…
Reference in New Issue
Block a user