mirror of
https://github.com/RyuKojiro/apple1.git
synced 2025-01-15 23:30:46 +00:00
Added uppercase force logic back
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@31 64f78de7-aa59-e511-a0e8-0002a5492df0
This commit is contained in:
parent
11ff9bdac9
commit
ee0a0ea896
@ -41,6 +41,10 @@ char asciiCharFromA1Char(uint8_t c) {
|
||||
}
|
||||
|
||||
uint8_t a1CharFromAsciiChar(char c) {
|
||||
if (c >= 'a' && c <= 'z') {
|
||||
c -= 0x20;
|
||||
}
|
||||
|
||||
return (char)c | 0x80;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user