From 830935963d85a84061bb22f41a5e2373024b6247 Mon Sep 17 00:00:00 2001 From: sydarn Date: Fri, 1 Dec 2023 18:42:21 +0100 Subject: [PATCH] cleanup rg99 specifics and remove odbetaflag --- configure | 9 +-------- platform/common/plat_sdl.c | 7 +------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/configure b/configure index 3c88c6a2..8449010b 100755 --- a/configure +++ b/configure @@ -110,13 +110,6 @@ set_platform() MFLAGS="-march=mips32r2" platform="opendingux" ;; - rg99) - # RG99 using opendingux, with Ingenic MIPS JZ4725B - sound_drivers="sdl" - CFLAGS="$CFLAGS -D__OPENDINGUX__" - MFLAGS="-march=mips32" - platform="opendingux" - ;; miyoo) # Miyoo BittBoy, PocketGO 1, PowKiddy V90/Q90 with Allwinner F1C100s sound_drivers="sdl" @@ -127,7 +120,7 @@ set_platform() odbeta) # various devices with opendingux beta, arch flags from toolchain default MFLAGS="" - CFLAGS="$CFLAGS -D__ODBETA__" + CFLAGS="$CFLAGS -D__OPENDINGUX__" platform="opendingux" ;; pandora) diff --git a/platform/common/plat_sdl.c b/platform/common/plat_sdl.c index 219b2c34..f9f892d1 100644 --- a/platform/common/plat_sdl.c +++ b/platform/common/plat_sdl.c @@ -331,7 +331,7 @@ static void plat_sdl_resize(int w, int h) { // take over new settings if (plat_sdl_screen->w != area.w || plat_sdl_screen->h != area.h) { -#if defined(__ODBETA__) +#if defined(__OPENDINGUX__) if (currentConfig.vscaling != EOPT_SCALE_HW && plat_sdl_screen->w == 320 && plat_sdl_screen->h == 480) { @@ -398,11 +398,6 @@ void plat_init(void) in_sdl_init(&in_sdl_platform_data, plat_sdl_event_handler); in_probe(); -#if defined(__RG99__) - // do not use the default resolution - plat_sdl_change_video_mode(320, 240, 1); -#endif - bgr_to_uyvy_init(); } -- 2.39.5