mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-13 13:10:53 +00:00
GLK: FROTZ: Only wait for keypress in Beyond Zork title if mg1 present
This commit is contained in:
parent
e655c50d17
commit
ece101ee4a
@ -490,9 +490,9 @@ void GlkInterface::showBeyondZorkTitle() {
|
||||
|
||||
if (saveSlot == -1) {
|
||||
winid_t win = glk_window_open(0, 0, 0, wintype_Graphics, 0);
|
||||
glk_image_draw_scaled(win, 1, 0, 0, g_vm->_screen->w, g_vm->_screen->h);
|
||||
if (glk_image_draw_scaled(win, 1, 0, 0, g_vm->_screen->w, g_vm->_screen->h))
|
||||
_events->waitForPress();
|
||||
|
||||
_events->waitForPress();
|
||||
glk_window_close(win, nullptr);
|
||||
}
|
||||
}
|
||||
|
@ -896,9 +896,9 @@ bool GlkAPI::glk_image_draw(winid_t win, uint image, int val1, int val2) {
|
||||
GraphicsWindow *gfxWin = dynamic_cast<GraphicsWindow *>(win);
|
||||
|
||||
if (textWin)
|
||||
textWin->drawPicture(image, val1, false, 0, 0);
|
||||
return textWin->drawPicture(image, val1, false, 0, 0);
|
||||
else if (gfxWin)
|
||||
gfxWin->drawPicture(image, val1, val2, false, 0, 0);
|
||||
return gfxWin->drawPicture(image, val1, val2, false, 0, 0);
|
||||
}
|
||||
|
||||
return false;
|
||||
@ -913,9 +913,9 @@ bool GlkAPI::glk_image_draw_scaled(winid_t win, uint image, int val1, int val2,
|
||||
GraphicsWindow *gfxWin = dynamic_cast<GraphicsWindow *>(win);
|
||||
|
||||
if (textWin)
|
||||
textWin->drawPicture(image, val1, true, width, height);
|
||||
return textWin->drawPicture(image, val1, true, width, height);
|
||||
else if (gfxWin)
|
||||
gfxWin->drawPicture(image, val1, val2, true, width, height);
|
||||
return gfxWin->drawPicture(image, val1, val2, true, width, height);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user