mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-25 10:29:51 +00:00
- In banked addressing mode, the UAE memory handlers should already handle
reads/writes to/from the frame buffer correctly. i.e. specialised blitters should not be used there.
This commit is contained in:
parent
4d03a57251
commit
673c53231f
@ -306,6 +306,7 @@ static Screen_blit_func_info Screen_blitters[] = {
|
|||||||
// --> In that case, VOSF is not necessary
|
// --> In that case, VOSF is not necessary
|
||||||
bool Screen_blitter_init(XVisualInfo * visual_info, bool native_byte_order)
|
bool Screen_blitter_init(XVisualInfo * visual_info, bool native_byte_order)
|
||||||
{
|
{
|
||||||
|
#if REAL_ADDRESSING || DIRECT_ADDRESSING
|
||||||
visualFormat.depth = visual_info->depth;
|
visualFormat.depth = visual_info->depth;
|
||||||
visualFormat.Rmask = visual_info->red_mask;
|
visualFormat.Rmask = visual_info->red_mask;
|
||||||
visualFormat.Gmask = visual_info->green_mask;
|
visualFormat.Gmask = visual_info->green_mask;
|
||||||
@ -349,6 +350,11 @@ bool Screen_blitter_init(XVisualInfo * visual_info, bool native_byte_order)
|
|||||||
visualFormat.Rshift, visualFormat.Gshift, visualFormat.Bshift);
|
visualFormat.Rshift, visualFormat.Gshift, visualFormat.Bshift);
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
// The UAE memory handlers will blit correctly
|
||||||
|
// --> no need for specialised blitters here
|
||||||
|
Screen_blit = Blit_Copy_Raw;
|
||||||
|
#endif
|
||||||
|
|
||||||
// If the blitter simply reduces to a copy, we don't need VOSF in DGA mode
|
// If the blitter simply reduces to a copy, we don't need VOSF in DGA mode
|
||||||
// --> In that case, we return FALSE
|
// --> In that case, we return FALSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user