thru TryDoForceSwitchOut

This commit is contained in:
jiangzhengwenjz
2019-08-27 08:01:01 +08:00
parent 184066d1c1
commit b516246769
10 changed files with 1363 additions and 4222 deletions
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -364,7 +364,7 @@ void FillWindowPixelRect(u8 windowId, u8 fillValue, u16 x, u16 y, u16 width, u16
FillBitmapRect4Bit(&pixelRect, x, y, width, height, fillValue);
}
void CopyToWindowPixelBuffer(u8 windowId, const u8 *src, u16 size, u16 tileOffset)
void CopyToWindowPixelBuffer(u8 windowId, const void *src, u16 size, u16 tileOffset)
{
if (size != 0)
CpuCopy16(src, gWindows[windowId].tileData + (0x20 * tileOffset), size);