mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
TWINE: fixed parts of the input handling
fixed error when playing a second fla
This commit is contained in:
1 parent
1b4a8b8510
commit
3bc2c1921b
2 files changed
+5
-2
No files matched your search
@@ -252,6 +252,7 @@ void FlaMovies::playFlaMovie(const char *flaName) {
|
||||
_fadeOut = -1;
|
||||
fadeOutFrames = 0;
|
||||
|
||||
file.close();
|
||||
if (!file.open(fileNamePath)) {
|
||||
warning("Failed to open fla movie '%s'", fileNamePath.c_str());
|
||||
return;
|
||||
|
||||
@@ -1009,7 +1009,9 @@ void TwinEEngine::readKeys() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
#if 1
|
||||
{
|
||||
#else
|
||||
int32 size = 0;
|
||||
uint8 *keyboard = nullptr; // TODO: SDL_GetKeyState(&size);
|
||||
for (int32 j = 0; j < size; j++) {
|
||||
@@ -1083,7 +1085,7 @@ void TwinEEngine::readKeys() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
int find = 0;
|
||||
bool found = false;
|
||||
for (int i = 0; i < ARRAYSIZE(pressedKeyMap); i++) {
|
||||
|
||||
Reference in new issue
Block a user