[nostalgia/core] Replace puts loc param with column and row params

This commit is contained in:
2019-11-09 17:56:50 -06:00
parent 5dc74e6fd7
commit 71b38b243e
8 changed files with 37 additions and 30 deletions
+2 -2
View File
@@ -141,9 +141,9 @@ char charMap[128] = {
0, // ~
};
void puts(Context *ctx, int loc, const char *str) {
void puts(Context *ctx, int column, int row, const char *str) {
for (int i = 0; str[i]; i++) {
setTile(ctx, 0, loc + i, 0, charMap[static_cast<int>(str[i])]);
setTile(ctx, 0, column + i, row, charMap[static_cast<int>(str[i])]);
}
}