mirror of
https://github.com/been-jamming/A1Emu.git
synced 2024-11-25 10:30:57 +00:00
Forcing capital letters
This commit is contained in:
parent
d896014259
commit
9822aa07cd
@ -272,6 +272,11 @@ int main(){
|
|||||||
DEBUG_STEP = 1;
|
DEBUG_STEP = 1;
|
||||||
printf("\n");
|
printf("\n");
|
||||||
} else {
|
} else {
|
||||||
|
//Convert lower case characters to upper case
|
||||||
|
if(key_hit >= 'a' && key_hit <= 'z'){
|
||||||
|
key_hit += 'A' - 'a';
|
||||||
|
}
|
||||||
|
|
||||||
memory[0xD010] = key_hit|0x80;
|
memory[0xD010] = key_hit|0x80;
|
||||||
memory[0xD011] |= 0x80;
|
memory[0xD011] |= 0x80;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user