cleanup rg99 specifics and remove odbetaflag

This commit is contained in:
sydarn 2023-12-01 18:42:21 +01:00 committed by irixxxx
parent 0e7c531169
commit 830935963d
2 changed files with 2 additions and 14 deletions

9
configure vendored
View file

@ -110,13 +110,6 @@ set_platform()
MFLAGS="-march=mips32r2" MFLAGS="-march=mips32r2"
platform="opendingux" platform="opendingux"
;; ;;
rg99)
# RG99 using opendingux, with Ingenic MIPS JZ4725B
sound_drivers="sdl"
CFLAGS="$CFLAGS -D__OPENDINGUX__"
MFLAGS="-march=mips32"
platform="opendingux"
;;
miyoo) miyoo)
# Miyoo BittBoy, PocketGO 1, PowKiddy V90/Q90 with Allwinner F1C100s # Miyoo BittBoy, PocketGO 1, PowKiddy V90/Q90 with Allwinner F1C100s
sound_drivers="sdl" sound_drivers="sdl"
@ -127,7 +120,7 @@ set_platform()
odbeta) odbeta)
# various devices with opendingux beta, arch flags from toolchain default # various devices with opendingux beta, arch flags from toolchain default
MFLAGS="" MFLAGS=""
CFLAGS="$CFLAGS -D__ODBETA__" CFLAGS="$CFLAGS -D__OPENDINGUX__"
platform="opendingux" platform="opendingux"
;; ;;
pandora) pandora)

View file

@ -331,7 +331,7 @@ static void plat_sdl_resize(int w, int h)
{ {
// take over new settings // take over new settings
if (plat_sdl_screen->w != area.w || plat_sdl_screen->h != area.h) { 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 && if (currentConfig.vscaling != EOPT_SCALE_HW &&
plat_sdl_screen->w == 320 && plat_sdl_screen->w == 320 &&
plat_sdl_screen->h == 480) { 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_sdl_init(&in_sdl_platform_data, plat_sdl_event_handler);
in_probe(); in_probe();
#if defined(__RG99__)
// do not use the default resolution
plat_sdl_change_video_mode(320, 240, 1);
#endif
bgr_to_uyvy_init(); bgr_to_uyvy_init();
} }