summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorgaa-cifasis <gg@cifasis-conicet.gov.ar>2018-02-18 18:48:51 -0300
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 03:56:27 +0200
commit310cf0da7cf4186fde42222e6835d5a8ad485c8a (patch)
tree89dc7bb9bdb692a42a77ed57755d1d7f5211e7cf /src/main.c
parent7aea1acf4490b7d68f6915cf63d28c1f18b49b5d (diff)
merged support for playing bink cutscenes and added 1366x768 resolution
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 8cbbc75..4ca3465 100644
--- a/src/main.c
+++ b/src/main.c
@@ -248,7 +248,7 @@ VideoModeStruct VideoModeList[] = {
{ 640, 480, 0 },
{ 720, 480, 0 },
{ 800, 600, 0 },
-{ 1024, 768, 0 },
+{ 1366, 768, 0 },
{ 1152, 864, 0 },
{ 1280, 720, 0 },
{ 1280, 768, 0 },
@@ -1228,6 +1228,9 @@ int main(int argc, char *argv[])
LoadKeyConfiguration();
SoundSys_Start();
+
+ BinkSys_Init();
+
if (WantCDRom) CDDA_Start();
InitTextStrings();
@@ -1419,6 +1422,8 @@ if (AvP_MainMenus())
ExitSystem();
CDDA_End();
+ BinkSys_Release();
+
ClearMemoryPool();
return 0;