mirror of
https://github.com/libretro/snes9x2010.git
synced 2025-03-01 12:38:25 +00:00
Dont set the same value 2 times in a row.
This commit is contained in:
parent
5efcfb7913
commit
9fab50d937
@ -873,11 +873,12 @@ unsigned retro_get_region (void)
|
||||
|
||||
void S9xDeinitUpdate(int width, int height)
|
||||
{
|
||||
GFX.Pitch = 2048; /* Pitch 1024 -> 2048 */
|
||||
|
||||
if (height == 448 || height == 478)
|
||||
if (height == 448 || height == 478){
|
||||
GFX.Pitch = 1024; /* Pitch 2048 -> 1024 */
|
||||
}
|
||||
else GFX.Pitch = 2048; /* Pitch 1024 -> 2048 */
|
||||
|
||||
|
||||
// TODO: Reverse case.
|
||||
if (!use_overscan)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user