shell: fix skipping Eidos logo

Resolves #541
This commit is contained in:
Marcin Kurczewski 2023-05-18 23:51:17 +02:00
parent 0a9f3fe132
commit ec44656126
3 changed files with 7 additions and 1 deletions

View file

@ -9,6 +9,7 @@
- changed screen resolution option to apply immediately (#114)
- changed shaders to use GLSL 1.20 which should fix most issues with OpenGL 2.1 (#327, #685)
- fixed sounds stopping instead of pausing if game sounds in inventory are disabled (#717)
- fixed skipping Eidos logo and end credits (#541)
- fixed ceiling heights at times being miscalculated, resulting in camera issues and Lara being able to jump into the ceiling (#323)
- fixed Lara not being able to jump off trapdoors or crumbling floors if the sidestep descent fix is enabled (#830)

View file

@ -1200,8 +1200,8 @@ GameFlow_InterpretSequence(int32_t level_num, GAMEFLOW_LEVEL_TYPE level_type)
Output_FadeToTransparent(true);
while (Output_FadeIsAnimating()) {
Output_DrawBackdropImage();
Input_Update();
Output_DumpScreen();
Input_Update();
if (g_InputDB.any) {
break;
}
@ -1218,6 +1218,10 @@ GameFlow_InterpretSequence(int32_t level_num, GAMEFLOW_LEVEL_TYPE level_type)
while (Output_FadeIsAnimating()) {
Output_DrawBackdropImage();
Output_DumpScreen();
Input_Update();
if (g_InputDB.any) {
break;
}
}
// draw black frame

View file

@ -284,6 +284,7 @@ void Shell_Wait(int nticks)
if (g_InputDB.any) {
break;
}
S_Shell_SpinMessageLoop();
Clock_SyncTicks(1);
}
}