Converted void to u16 in functions

This commit is contained in:
cellos51
2025-08-08 09:54:24 -04:00
parent 31ba1f166c
commit 650c09af28
4 changed files with 6 additions and 9 deletions
+1 -1
View File
@@ -12,6 +12,6 @@ void affine_background_init();
void affine_background_update();
void affine_background_set_color(COLOR color);
// Must be called with an array of size at least AFFINE_BG_PAL_LEN
void affine_background_load_palette(const void *src);
void affine_background_load_palette(const u16 *src);
#endif // AFFINE_BACKGROUND_H
+1 -1
View File
@@ -127,6 +127,6 @@ void update_text_rect_to_right_align_num(Rect* rect, int num, int overflow_direc
* This is useful because grit always loads the palette to the beginning of
* pal_bg_mem[]
*/
void memcpy16_tile8_with_palette_offset(void* dst, const void* src, uint hwcount, u8 palette_offset);
void memcpy16_tile8_with_palette_offset(u16* dst, const u16* src, uint hwcount, u8 palette_offset);
#endif //GRAPHIC_UTILS_H