formatting

This commit is contained in:
YamaArashi 2016-11-01 12:13:12 -07:00
parent 734ec8dd51
commit d708372ea9

View File

@ -296,12 +296,11 @@ u8 GetTaskCount()
void SetWordTaskArg(u8 taskId, u8 dataElem, u32 value) void SetWordTaskArg(u8 taskId, u8 dataElem, u32 value)
{ {
if (dataElem <= 0xE) if (dataElem <= 14)
{ {
gTasks[taskId].data[dataElem] = value; gTasks[taskId].data[dataElem] = value;
gTasks[taskId].data[dataElem + 1] = value >> 16; gTasks[taskId].data[dataElem + 1] = value >> 16;
} }
return;
} }
u32 GetWordTaskArg(u8 taskId, u8 dataElem) u32 GetWordTaskArg(u8 taskId, u8 dataElem)