clearwin works

This commit is contained in:
theoddone33
2001-04-16 19:53:02 +00:00
parent 778bca2b3f
commit aade8d6978

View File

@@ -1887,12 +1887,13 @@ void clearwin()
SurfBufD=(DWORD) &SurfBuf[0];
SURFDW=(DWORD *) &SurfBuf[0];
if (SurfBufD == 0) { UnlockSurface(); return; }
switch(BitDepth)
{
case 16:
// Still crashes - DDOI
STUB_FUNCTION;
/*
//STUB_FUNCTION;
__asm__ __volatile__ ("
pushw %%es
movw %%ds, %%ax
@@ -1935,7 +1936,6 @@ void clearwin()
jne Blank3
popw %%es
" : : : "cc", "memory", "eax", "ebx", "ecx","edi");
*/
break;
}
UnlockSurface();