From 649832e702c4167aa811ed5f6bc7aa51b0efa820 Mon Sep 17 00:00:00 2001 From: Toad King Date: Sat, 28 Jul 2012 15:15:47 -0400 Subject: [PATCH] (Wii) disable ASM blitter, optimization breaks it --- wii/gx_video.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/wii/gx_video.c b/wii/gx_video.c index 57696cec3d..0f2d47665f 100644 --- a/wii/gx_video.c +++ b/wii/gx_video.c @@ -185,6 +185,9 @@ static void *wii_init(const video_info_t *video, return (void*)-1; } +#if 0 +// TODO: Fix + static void update_texture_asm(const uint32_t *src, unsigned width, unsigned height, unsigned pitch) { @@ -263,6 +266,8 @@ static void update_texture_asm(const uint32_t *src, ); } +#endif + // Set MSB to get full RGB555. #define RGB15toRGB5A3(col) ((col) | 0x80008000u) @@ -287,11 +292,13 @@ static void update_texture_asm(const uint32_t *src, static void update_texture(const uint32_t *src, unsigned width, unsigned height, unsigned pitch) { +#if 0 if (!(width & 3) && !(height & 3)) { update_texture_asm(src, width, height, pitch); } else +#endif { pitch >>= 2; width &= ~15;