MCPcopy Create free account
hub / github.com/Stewmath/GameYob / consoleSetLineColor

Function consoleSetLineColor

arm9/source/console.cpp:919–925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

917}
918
919void consoleSetLineColor(int line, int color) {
920 u16* map = BG_MAP_RAM_SUB(22);
921 for (int i=0; i<32; i++) {
922 map[line*32+i] &= ~TILE_PALETTE(15);
923 map[line*32+i] |= TILE_PALETTE(color);
924 }
925}
926
927void iprintfColored(int palette, const char *format, ...) {
928 va_list args;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected