Fixed 256x239 resoltuion in windows and linux ports

This commit is contained in:
pagefault
2001-08-22 20:50:58 +00:00
parent c17daa1044
commit e934fd045a
2 changed files with 8 additions and 1 deletions

View File

@@ -1793,6 +1793,7 @@ extern int DSPBuffer;
int * DSPBuffer1;
DWORD ScreenPtr;
DWORD ScreenPtr2;
extern BYTE resolutn;
extern GUI36hzcall(void);
extern Game60hzcall(void);
extern int packettimeleft[256];
@@ -2027,7 +2028,10 @@ void drawscreenwin(void)
}
ScreenPtr=vidbuffer;
ScreenPtr+=16*2+32*2+256*2;
ScreenPtr+=16*2+32*2+256*2;
if (resolutn == 239) ScreenPtr+=8*288*2;
SurfBufD=(DWORD) &SurfBuf[0];
SURFDW=(DWORD *) &SurfBuf[0];