mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-11 12:18:05 +00:00
SCI: fixed jones/ega/vga port issue
getPortById() error was caused by us remembering port when going interactive, restoring it and restoring it all the time afterwards as well svn-id: r51071
This commit is contained in:
parent
102b8c9efd
commit
c2577da7e0
@ -467,8 +467,10 @@ reg_t GfxMenu::kernelSelect(reg_t eventObject, bool pauseSound) {
|
||||
_paint16->bitsShow(_ports->_menuRect);
|
||||
_barSaveHandle = NULL_REG;
|
||||
}
|
||||
if (_oldPort)
|
||||
if (_oldPort) {
|
||||
_ports->setPort(_oldPort);
|
||||
_oldPort = NULL;
|
||||
}
|
||||
|
||||
if ((itemEntry) || (forceClaimed))
|
||||
writeSelector(_segMan, eventObject, SELECTOR(claimed), make_reg(0, 1));
|
||||
|
Loading…
x
Reference in New Issue
Block a user