Fix for max_uae_width/height not being set after startup

This commit is contained in:
Dimitris Panokostas 2017-12-13 15:10:21 +01:00
parent 7b90a84b60
commit 7182f85167

View file

@ -366,6 +366,11 @@ void updatedisplayarea()
static void open_screen(struct uae_prefs* p)
{
int depth = 16;
if (max_uae_width == 0 || max_uae_height == 0)
{
max_uae_width = 1920;
max_uae_height = 1080;
}
#ifdef USE_SDL1
current_resource_amigafb = 0;