Fix demos not working
This commit is contained in:
parent
95677cc5e9
commit
d83e03728c
|
@ -1217,6 +1217,8 @@ static void start_demo(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sDemoNumber >= 0 && sDemoNumber <= 6) {
|
if (sDemoNumber >= 0 && sDemoNumber <= 6) {
|
||||||
|
gCurrDemoInput = NULL;
|
||||||
|
alloc_anim_dma_table(&gDemo, gDemoInputs, gDemoTargetAnim);
|
||||||
load_patchable_table(&gDemo, sDemoNumber, false);
|
load_patchable_table(&gDemo, sDemoNumber, false);
|
||||||
gCurrDemoInput = ((struct DemoInput *) gDemo.targetAnim);
|
gCurrDemoInput = ((struct DemoInput *) gDemo.targetAnim);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue