mirror of
https://github.com/st3fan/ewm.git
synced 2025-04-05 00:29:29 +00:00
Fixes #94 Terminal is broken for Apple 1 emulation
This commit is contained in:
parent
b99de0f3cd
commit
99f5833815
@ -43,6 +43,9 @@ struct ewm_one_t *ewm_one_create(int model, SDL_Renderer *renderer) {
|
||||
|
||||
static void ewm_one_pia_callback(struct ewm_pia_t *pia, void *obj, uint8_t ddr, uint8_t v) {
|
||||
struct ewm_one_t *one = (struct ewm_one_t*) obj;
|
||||
if (one->model == EWM_ONE_MODEL_APPLE1) {
|
||||
v &= 0x7f;
|
||||
}
|
||||
ewm_tty_write(one->tty, v);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user