cx16 sprites module: the palette_offset parameter now takes values 0-15 (instead of 0-255) to be more consistent with docs and vera behavior

This commit is contained in:
Irmen de Jong
2024-04-07 21:49:03 +02:00
parent ddb8346711
commit 112d2d6058
5 changed files with 13 additions and 13 deletions

View File

@@ -14,6 +14,7 @@ object Cp437Encoding {
val mapped = str.map { chr ->
when (chr) {
'\u0000' -> 0u
'\u00a0' -> 255u
'☺' -> 1u
'☻' -> 2u
'♥' -> 3u