Another TODO

This commit is contained in:
Clownacy 2020-09-27 20:08:51 +01:00
parent 0df697d5ee
commit d1dc861bc3

View file

@ -247,13 +247,14 @@ BOOL StartCreditScript(void)
// Read data
fread(Credit.pData, 1, Credit.size, fp);
EncryptionBinaryData2((unsigned char*)Credit.pData, Credit.size);
#ifdef FIX_MAJOR_BUGS
// The original game forgot to close the file
fclose(fp);
#endif
EncryptionBinaryData2((unsigned char*)Credit.pData, Credit.size);
// Reset credits
Credit.offset = 0;
Credit.wait = 0;
@ -263,7 +264,7 @@ BOOL StartCreditScript(void)
// Modify cliprect
grcGame.left = WINDOW_WIDTH / 2;
#if WINDOW_WIDTH != 320 || WINDOW_HEIGHT != 240
#if WINDOW_WIDTH != 320 || WINDOW_HEIGHT != 240 // TODO - Move to CSE2EX
// These three are non-vanilla: for wide/tallscreen support
grcGame.right = ((WINDOW_WIDTH - 320) / 2) + 320;
grcGame.top = (WINDOW_HEIGHT - 240) / 2;