mirror of
https://github.com/RyuKojiro/apple1.git
synced 2024-11-16 15:06:27 +00:00
Don't mask letters that aren't alpha
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@17 64f78de7-aa59-e511-a0e8-0002a5492df0
This commit is contained in:
parent
a18eb41a34
commit
748ea68368
@ -22,7 +22,12 @@ char asciiCharFromA1Char(uint8_t c) {
|
||||
case 0xDC: return '\\';
|
||||
case 0x8D: return '\n';
|
||||
}
|
||||
return (char)c & ~0x20;
|
||||
|
||||
if (c >= 'a' && c <= 'z') {
|
||||
return (char)c & ~0x20;
|
||||
}
|
||||
|
||||
return (char)c;
|
||||
}
|
||||
|
||||
uint8_t a1CharFromAsciiChar(char c) {
|
||||
|
Loading…
Reference in New Issue
Block a user