diff --git a/gfx/gl_common.h b/gfx/gl_common.h index 5c220cb46f..f49d91ffd0 100644 --- a/gfx/gl_common.h +++ b/gfx/gl_common.h @@ -62,7 +62,6 @@ static inline bool gl_check_error(void) break; case GL_NO_ERROR: return true; - break; default: SSNES_ERR("Non specified error :v\n"); } diff --git a/settings.c b/settings.c index e2d0fdf63d..9fcaa3ce15 100644 --- a/settings.c +++ b/settings.c @@ -272,9 +272,7 @@ static config_file_t *open_default_config_file(void) } if (!conf) conf = config_file_new("/etc/ssnes.cfg"); -#elif defined(__CELLOS_LV2__) || defined(_XBOX) - return NULL; -#else +#elif !defined(__CELLOS_LV2__) && !defined(_XBOX) const char *xdg = getenv("XDG_CONFIG_HOME"); if (!xdg) SSNES_WARN("XDG_CONFIG_HOME is not defined. Will look for config in $HOME/.ssnes.cfg ...\n");