mirror of
https://github.com/pret/pokeemerald.git
synced 2026-03-21 17:54:57 -05:00
Fix EWRAM_INIT in tests and add a default state to test runner main loop
This commit is contained in:
parent
c5fff74ec4
commit
912f553cf7
|
|
@ -19,6 +19,7 @@ SECTIONS {
|
|||
{
|
||||
__ewram_start = .;
|
||||
*(.ewram*)
|
||||
. = ALIGN(4);
|
||||
__ewram_end = .;
|
||||
} > EWRAM
|
||||
|
||||
|
|
|
|||
|
|
@ -446,6 +446,11 @@ top:
|
|||
case STATE_EXIT:
|
||||
MgbaExit_(gTestRunnerState.exitCode);
|
||||
break;
|
||||
default:
|
||||
MgbaOpen_();
|
||||
Test_MgbaPrintf("\e[31mInvalid TestRunner state, exiting\e[0m");
|
||||
gTestRunnerState.exitCode = 1;
|
||||
gTestRunnerState.state = STATE_EXIT;
|
||||
}
|
||||
|
||||
if (gMain.callback2 == CB2_TestRunner)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user