Code: Select all
int id = bgInit(0, BgType_Text8bpp, BgSize_T_512x512, 28, 0);
Code: Select all
inline u16 getTile(int id, int x, int y) {
return bgGetMapPtr(id)[y * (512 / 8) + x];
}
Code: Select all
int id = bgInit(0, BgType_Text8bpp, BgSize_T_512x512, 28, 0);
Code: Select all
inline u16 getTile(int id, int x, int y) {
return bgGetMapPtr(id)[y * (512 / 8) + x];
}
Users browsing this forum: Ahrefs [Bot] and 0 guests