diff --git a/inc/display.h b/inc/display.h index aa419ef..09b1a4f 100755 --- a/inc/display.h +++ b/inc/display.h @@ -79,3 +79,11 @@ extern DLword *DisplayRegion68k; #undef DISPLAYBUFFER #endif /* XWINDOW */ +void flush_display_buffer(); +void flush_display_lineregion(UNSIGNED x, DLword *ybase, UNSIGNED w, UNSIGNED h); +void flush_display_region(int x, int y, int w, int h); +void flush_display_ptrregion(DLword *ybase, UNSIGNED bitoffset, UNSIGNED w, UNSIGNED h); + +#ifdef BYTESWAP +void byte_swapped_displayregion(int x, int y, int w, int h); +#endif diff --git a/src/initdsp.c b/src/initdsp.c index 7d60f32..c2c1a21 100644 --- a/src/initdsp.c +++ b/src/initdsp.c @@ -756,7 +756,7 @@ void byte_swapped_displayregion(int x, int y, int w, int h) /* */ /************************************************************************/ -void flush_display_lineregion(UNSIGNED x, UNSIGNED ybase, UNSIGNED w, UNSIGNED h) +void flush_display_lineregion(UNSIGNED x, DLword *ybase, UNSIGNED w, UNSIGNED h) #ifdef I386 { /*flush_display_buffer(); */ int y; @@ -805,7 +805,7 @@ void flush_display_lineregion(UNSIGNED x, UNSIGNED ybase, UNSIGNED w, UNSIGNED h #define BITSPERWORD 16 -void flush_display_ptrregion(UNSIGNED ybase, UNSIGNED bitoffset, UNSIGNED w, UNSIGNED h) +void flush_display_ptrregion(DLword *ybase, UNSIGNED bitoffset, UNSIGNED w, UNSIGNED h) #ifdef I386 { flush_display_buffer(); } #else