mirror of
https://github.com/libretro/RetroArch
synced 2025-01-18 13:23:40 +00:00
(Wii) disable ASM blitter, optimization breaks it
This commit is contained in:
parent
f4559bf636
commit
649832e702
@ -185,6 +185,9 @@ static void *wii_init(const video_info_t *video,
|
|||||||
return (void*)-1;
|
return (void*)-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
// TODO: Fix
|
||||||
|
|
||||||
static void update_texture_asm(const uint32_t *src,
|
static void update_texture_asm(const uint32_t *src,
|
||||||
unsigned width, unsigned height, unsigned pitch)
|
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.
|
// Set MSB to get full RGB555.
|
||||||
#define RGB15toRGB5A3(col) ((col) | 0x80008000u)
|
#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,
|
static void update_texture(const uint32_t *src,
|
||||||
unsigned width, unsigned height, unsigned pitch)
|
unsigned width, unsigned height, unsigned pitch)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
if (!(width & 3) && !(height & 3))
|
if (!(width & 3) && !(height & 3))
|
||||||
{
|
{
|
||||||
update_texture_asm(src, width, height, pitch);
|
update_texture_asm(src, width, height, pitch);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
pitch >>= 2;
|
pitch >>= 2;
|
||||||
width &= ~15;
|
width &= ~15;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user