Mark video memory mappings as external. Patch from Greatpsycho.
This commit is contained in:
parent
e09d483cf5
commit
7c63ce6368
6 changed files with 6 additions and 6 deletions
|
|
@ -853,7 +853,7 @@ void *ega_standalone_init()
|
|||
|
||||
ega_init(ega);
|
||||
|
||||
mem_mapping_add(&ega->mapping, 0xa0000, 0x20000, ega_read, NULL, NULL, ega_write, NULL, NULL, NULL, 0, ega);
|
||||
mem_mapping_add(&ega->mapping, 0xa0000, 0x20000, ega_read, NULL, NULL, ega_write, NULL, NULL, NULL, MEM_MAPPING_EXTERNAL, ega);
|
||||
timer_add(ega_poll, &ega->vidtime, TIMER_ALWAYS_ENABLED, ega);
|
||||
io_sethandler(0x03a0, 0x0040, ega_in, NULL, NULL, ega_out, NULL, NULL, ega);
|
||||
return ega;
|
||||
|
|
|
|||
Loading…
Reference in a new issue