mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Small fix in addition to r6669.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6676 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -159,7 +159,7 @@ void OnPixelFormatChange(const BPCmd &bp)
|
|||||||
case PIXELFMT_RGB8_Z24:
|
case PIXELFMT_RGB8_Z24:
|
||||||
case PIXELFMT_Z24:
|
case PIXELFMT_Z24:
|
||||||
// Z24 and RGB8_Z24 are treated equal, so just return in this case
|
// Z24 and RGB8_Z24 are treated equal, so just return in this case
|
||||||
if (new_format == PIXELFMT_RGB565_Z16 || new_format == PIXELFMT_Z24)
|
if (new_format == PIXELFMT_RGB8_Z24 || new_format == PIXELFMT_Z24)
|
||||||
goto skip;
|
goto skip;
|
||||||
|
|
||||||
if (new_format == PIXELFMT_RGBA6_Z24)
|
if (new_format == PIXELFMT_RGBA6_Z24)
|
||||||
@ -185,8 +185,12 @@ void OnPixelFormatChange(const BPCmd &bp)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
PanicAlert("Unhandled EFB format change: %d to %d\n", old_format, new_format);
|
break;
|
||||||
goto skip;
|
}
|
||||||
|
if (convtype == (unsigned int)-1)
|
||||||
|
{
|
||||||
|
PanicAlert("Unhandled EFB format change: %d to %d\n", old_format, new_format);
|
||||||
|
goto skip;
|
||||||
}
|
}
|
||||||
g_renderer->ReinterpretPixelData(convtype);
|
g_renderer->ReinterpretPixelData(convtype);
|
||||||
skip:
|
skip:
|
||||||
|
Reference in New Issue
Block a user