mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
MORTEVIELLE: Silent CID 1063229
This commit is contained in:
parent
d0ce04c968
commit
9c3cefa6f0
@ -67,9 +67,10 @@ bool MortevielleEngine::keyPressed() {
|
||||
* @remarks Originally called 'get_ch'
|
||||
*/
|
||||
int MortevielleEngine::getChar() {
|
||||
bool end = false;
|
||||
// If there isn't any pending keypress, wait until there is
|
||||
while (!shouldQuit() && _keypresses.empty()) {
|
||||
keyPressed();
|
||||
while (!shouldQuit() && !end) {
|
||||
end = keyPressed();
|
||||
}
|
||||
|
||||
// Return the top keypress
|
||||
|
Loading…
x
Reference in New Issue
Block a user