mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-01 23:26:57 +00:00
parent
2148d52cca
commit
cffd0321f6
@ -1258,7 +1258,9 @@ void showSplash()
|
||||
fileRead(data, 1, SPLASH_WIDTH * SPLASH_HEIGHT, stream);
|
||||
fileClose(stream);
|
||||
|
||||
_scr_blit(data, SPLASH_WIDTH, SPLASH_HEIGHT, 0, 0, SPLASH_WIDTH, SPLASH_HEIGHT, 0, 0);
|
||||
int splashWindowX = (screenGetWidth() - SPLASH_WIDTH) / 2;
|
||||
int splashWindowY = (screenGetHeight() - SPLASH_HEIGHT) / 2;
|
||||
_scr_blit(data, SPLASH_WIDTH, SPLASH_HEIGHT, 0, 0, SPLASH_WIDTH, SPLASH_HEIGHT, splashWindowX, splashWindowY);
|
||||
paletteFadeTo(palette);
|
||||
|
||||
internal_free(data);
|
||||
|
Loading…
Reference in New Issue
Block a user