mirror of
https://github.com/irmen/prog8.git
synced 2025-07-25 11:24:15 +00:00
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:
@@ -14,6 +14,7 @@ object Cp437Encoding {
|
||||
val mapped = str.map { chr ->
|
||||
when (chr) {
|
||||
'\u0000' -> 0u
|
||||
'\u00a0' -> 255u
|
||||
'☺' -> 1u
|
||||
'☻' -> 2u
|
||||
'♥' -> 3u
|
||||
|
Reference in New Issue
Block a user