void VW_UpdateScreen (void) { if (cursorvisible>0) VWL_DrawCursor(); #if GRMODE == EGAGR VWL_UpdateScreenBlocks(); BE_ST_SetScreenStartAddress(displayofs+panadjust); // Ported from ASM #endif #if GRMODE == CGAGR VW_CGAFullUpdate(); #endif if (cursorvisible>0) VWL_EraseCursor(); }
void VW_UpdateScreen (void) { if (cursorvisible>0) VWL_DrawCursor(); #if GRMODE == EGAGR VWL_UpdateScreenBlocks(); // cat3d patch memset(updateptr, 0, 2*(UPDATEWIDE*UPDATEHIGH/2)); // clear out the update matrix *(id0_unsigned_t *)(updateptr + UPDATEWIDE*PORTTILESHIGH) = UPDATETERMINATE; BE_ST_SetScreenStartAddress(displayofs+panadjust); // Ported from ASM #endif #if GRMODE == CGAGR VW_CGAFullUpdate(); #endif if (cursorvisible>0) VWL_EraseCursor(); }