aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/bg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine/bg.cpp')
-rw-r--r--engines/cine/bg.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/cine/bg.cpp b/engines/cine/bg.cpp
index c2ccf4c687..f5b64573af 100644
--- a/engines/cine/bg.cpp
+++ b/engines/cine/bg.cpp
@@ -33,6 +33,8 @@
namespace Cine {
uint16 bgVar0;
+byte *additionalBgTable[9];
+byte currentAdditionalBgIdx = 0, currentAdditionalBgIdx2 = 0;
void loadCtHigh(byte * currentPtr) {
memcpy(page3Raw, currentPtr, 320 * 200);
@@ -115,10 +117,6 @@ byte loadBg(const char *bgName) {
return 0;
}
-byte *additionalBgTable[9];
-byte currentAdditionalBgIdx = 0;
-byte currentAdditionalBgIdx2 = 0;
-
void addBackground(const char *bgName, uint16 bgIdx) {
byte *ptr, *dataPtr;