summaryrefslogtreecommitdiff
path: root/src/hexen/f_finale.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/f_finale.c')
-rw-r--r--src/hexen/f_finale.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hexen/f_finale.c b/src/hexen/f_finale.c
index 644efb5d..691c0683 100644
--- a/src/hexen/f_finale.c
+++ b/src/hexen/f_finale.c
@@ -25,6 +25,8 @@
// HEADER FILES ------------------------------------------------------------
#include "h2def.h"
+#include "i_system.h"
+#include "i_video.h"
#include "soundst.h"
#include "p_local.h"
#include <ctype.h>
@@ -173,7 +175,7 @@ static void TextWrite(void)
int cx, cy;
patch_t *w;
- memcpy(screen, W_CacheLumpNum(FinaleLumpNum, PU_CACHE),
+ memcpy(I_VideoBuffer, W_CacheLumpNum(FinaleLumpNum, PU_CACHE),
SCREENWIDTH * SCREENHEIGHT);
if (FinaleStage == 5)
{ // Chess pic, draw the correct character graphic
@@ -314,7 +316,7 @@ static void FadePic(void)
static void DrawPic(void)
{
- memcpy(screen, W_CacheLumpNum(FinaleLumpNum, PU_CACHE),
+ memcpy(I_VideoBuffer, W_CacheLumpNum(FinaleLumpNum, PU_CACHE),
SCREENWIDTH * SCREENHEIGHT);
if (FinaleStage == 4 || FinaleStage == 5)
{ // Chess pic, draw the correct character graphic