aboutsummaryrefslogtreecommitdiff
path: root/sword2/sword2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/sword2.cpp')
-rw-r--r--sword2/sword2.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/sword2/sword2.cpp b/sword2/sword2.cpp
index 9c82ae4eff..dfb66b5176 100644
--- a/sword2/sword2.cpp
+++ b/sword2/sword2.cpp
@@ -24,7 +24,9 @@
#include "stdafx.h"
#include "driver/driver96.h"
+#include "driver/palette.h"
#include "common/gameDetector.h"
+#include "common/timer.h"
#include "build_display.h"
#include "console.h"
#include "controls.h"
@@ -268,6 +270,11 @@ void Sword2State::go()
return;
}
+ _paletteMutex = _syst->create_mutex();
+ _timer->installProcedure(&FadeServer, 40000 / 25);
+
+
+
Zdebug("CALLING: InitialiseDisplay");
// rv = InitialiseDisplay(640, 480, 8, RD_FULLSCREEN);
_syst->init_size(640, 480);