mirror of https://github.com/Treeki/WindEmu.git
fix Osaris modifier keys
This commit is contained in:
parent
0aa59317ba
commit
cfdd32c414
|
@ -20,7 +20,7 @@ uint32_t Emulator::readReg8(uint32_t reg) {
|
||||||
if (reg == PADR) {
|
if (reg == PADR) {
|
||||||
return ((portValues >> 24) & 0x80) | (readKeyboard() & 0x7F);
|
return ((portValues >> 24) & 0x80) | (readKeyboard() & 0x7F);
|
||||||
} else if (reg == PBDR) {
|
} else if (reg == PBDR) {
|
||||||
return ((portValues >> 16) & 0x0F) | (keyboardExtra << 4);
|
return ((portValues >> 16) & 0x0F) | ((keyboardExtra ^ 0xF) << 4);
|
||||||
} else if (reg == PDDR) {
|
} else if (reg == PDDR) {
|
||||||
return (portValues >> 8) & 0xFF;
|
return (portValues >> 8) & 0xFF;
|
||||||
} else if (reg == PEDR) {
|
} else if (reg == PEDR) {
|
||||||
|
|
Loading…
Reference in New Issue