diff --git a/src/osdep/amiberry.cpp b/src/osdep/amiberry.cpp index 7552518b..d5797487 100644 --- a/src/osdep/amiberry.cpp +++ b/src/osdep/amiberry.cpp @@ -368,10 +368,6 @@ void target_fixup_options(struct uae_prefs* p) p->picasso96_modeflags = RGBFF_CLUT | RGBFF_R5G6B5PC | RGBFF_R8G8B8A8; - if (p->gfx_vresolution && !can_have_linedouble) - // If there's not enough vertical space, cancel Line Doubling/Scanlines - p->gfx_vresolution = 0; - if (p->cachesize <= 0) p->compfpu = false; diff --git a/src/osdep/amiberry_gfx.cpp b/src/osdep/amiberry_gfx.cpp index c248b946..c9619716 100644 --- a/src/osdep/amiberry_gfx.cpp +++ b/src/osdep/amiberry_gfx.cpp @@ -59,7 +59,6 @@ static int display_width; static int display_height; static int display_depth; Uint32 pixel_format; -bool can_have_linedouble; static unsigned long last_synctime; static int host_hz = 50; @@ -401,7 +400,6 @@ int graphics_setup(void) { write_log("Current Display mode: bpp %i\t%s\t%i x %i\t%iHz\n", SDL_BITSPERPIXEL(current_mode.format), SDL_GetPixelFormatName(current_mode.format), current_mode.w, current_mode.h, current_mode.refresh_rate); host_hz = current_mode.refresh_rate; - can_have_linedouble = current_mode.h >= 540; } Uint32 sdl_window_mode; diff --git a/src/osdep/amiberry_gfx.h b/src/osdep/amiberry_gfx.h index bef3f632..c8c14096 100644 --- a/src/osdep/amiberry_gfx.h +++ b/src/osdep/amiberry_gfx.h @@ -35,7 +35,6 @@ extern SDL_Window* sdl_window; extern SDL_Surface* gui_screen; extern SDL_Rect renderQuad; -extern bool can_have_linedouble; extern void check_error_sdl(bool check, const char* message); extern void toggle_fullscreen(); extern void DX_Fill(int dstx, int dsty, int width, int height, uae_u32 color);