diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2020-03-15 15:11:51 -0400 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2020-03-15 15:11:51 -0400 |
commit | be742e6741af58076ac09722d42d64eee3c8d763 (patch) | |
tree | bdb64f7dbfed009d75a094acb0ea99e9368d7897 /src/window_8bpp.c | |
parent | 8908b7d47a6f4879a37c6d5794a347e1c3c422f4 (diff) |
pokemon_storage_system_7
Diffstat (limited to 'src/window_8bpp.c')
-rw-r--r-- | src/window_8bpp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window_8bpp.c b/src/window_8bpp.c index c58c13802..8977d61e4 100644 --- a/src/window_8bpp.c +++ b/src/window_8bpp.c @@ -13,7 +13,7 @@ static void nullsub_9(void) { } -u16 AddWindow8Bit(struct WindowTemplate *template) +u16 AddWindow8Bit(const struct WindowTemplate *template) { u16 windowId; u8* memAddress; @@ -81,7 +81,7 @@ void FillWindowPixelRect8Bit(u8 windowId, u8 fillValue, u16 x, u16 y, u16 width, FillBitmapRect8Bit(&pixelRect, x, y, width, height, fillValue); } -void BlitBitmapRectToWindow4BitTo8Bit(u8 windowId, u8 *pixels, u16 srcX, u16 srcY, u16 srcWidth, int srcHeight, u16 destX, u16 destY, u16 rectWidth, u16 rectHeight, u8 paletteNum) +void BlitBitmapRectToWindow4BitTo8Bit(u8 windowId, const u8 *pixels, u16 srcX, u16 srcY, u16 srcWidth, int srcHeight, u16 destX, u16 destY, u16 rectWidth, u16 rectHeight, u8 paletteNum) { struct Bitmap sourceRect; struct Bitmap destRect; |