diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 32ddb1b98..51777dbeb 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -64,7 +64,7 @@ #include #include -#if HAVE_ARM_HARDWARE +#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE #include "gui/psisetup.h" #endif #include "gui/adzap.h" @@ -466,7 +466,7 @@ int CNeutrinoApp::loadSetup(const char *fname) g_settings.hdmi_cec_standby = configfile.getInt32("hdmi_cec_standby", 0); g_settings.hdmi_cec_volume = configfile.getInt32("hdmi_cec_volume", 0); -#if HAVE_ARM_HARDWARE +#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE g_settings.psi_brightness = configfile.getInt32("video_psi_brightness", 128); g_settings.psi_contrast = configfile.getInt32("video_psi_contrast", 128); g_settings.psi_saturation = configfile.getInt32("video_psi_saturation", 128); @@ -1660,7 +1660,7 @@ void CNeutrinoApp::saveSetup(const char *fname) configfile.setInt32("hdmi_cec_view_on", g_settings.hdmi_cec_view_on); configfile.setInt32("hdmi_cec_volume", g_settings.hdmi_cec_volume); -#if HAVE_ARM_HARDWARE +#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE configfile.setInt32("video_psi_brightness", g_settings.psi_brightness); configfile.setInt32("video_psi_contrast", g_settings.psi_contrast); configfile.setInt32("video_psi_saturation", g_settings.psi_saturation); diff --git a/src/system/settings.h b/src/system/settings.h index 6fc05dd0d..d7ebed9fd 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -343,7 +343,7 @@ struct SNeutrinoSettings int hdmi_cec_standby; int hdmi_cec_volume; -#if HAVE_ARM_HARDWARE +#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE int psi_brightness; int psi_contrast; int psi_saturation;