thru TryDoForceSwitchOut

This commit is contained in:
jiangzhengwenjz committed 2019-08-27 08:20:59 +08:00
1 parent 184066d1c1
commit b516246769
10 files changed
+1363 -4222

No files matched your search

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);