emu: set_zoom: window is always there, remove useless check
This commit is contained in:
parent
a967525caf
commit
2f7bfd4122
|
@ -99,8 +99,6 @@ static void
|
||||||
set_zoom(Uint8 scale)
|
set_zoom(Uint8 scale)
|
||||||
{
|
{
|
||||||
zoom = SDL_clamp(scale, 1, 3);
|
zoom = SDL_clamp(scale, 1, 3);
|
||||||
if(!gWindow)
|
|
||||||
return;
|
|
||||||
set_window_size(gWindow, (ppu.width + PAD * 2) * zoom, (ppu.height + PAD * 2) * zoom);
|
set_window_size(gWindow, (ppu.width + PAD * 2) * zoom, (ppu.height + PAD * 2) * zoom);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue