Merge branch 'master' into doc-slotmachine

This commit is contained in:
GriffinR
2020-07-28 17:41:34 -04:00
committed by GitHub
31 changed files with 119 additions and 134 deletions

View File

@@ -985,7 +985,7 @@ static void PlaySlotMachine_Internal(u8 slotMachineIndex, MainCallback exitCallb
{
struct Task *task = &gTasks[CreateTask(SlotMachineDummyTask, 0xFF)];
task->data[0] = slotMachineIndex;
StoreWordInTwoHalfwords(&task->data[1], (intptr_t)exitCallback);
StoreWordInTwoHalfwords((u16 *)&task->data[1], (intptr_t)exitCallback);
}