[nostalgia/core/userland] Cleanup
This commit is contained in:
@@ -70,4 +70,10 @@ ox::Error loadBgTileSheet(Context *ctx,
|
||||
return renderer::loadBgTexture(ctx, section, pixels.data(), width, height);
|
||||
}
|
||||
|
||||
void puts(Context *ctx, int column, int row, const char *str) {
|
||||
for (int i = 0; str[i]; ++i) {
|
||||
setTile(ctx, 0, column + i, row, static_cast<uint8_t>(charMap[static_cast<int>(str[i])]));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user