From 0fe713eb5f31b9b7164a42bb7c1783629e172643 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 17 Sep 2018 03:50:13 +0200 Subject: [PATCH] Fix error: initializer element is not constant --- config.def.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config.def.h b/config.def.h index 1a6d531b82..65653bbfa5 100644 --- a/config.def.h +++ b/config.def.h @@ -448,11 +448,12 @@ static const bool font_enable = true; * If your monitor does not run at 60Hz, or something close to it, * disable VSync, and leave this at its default. */ #ifdef _3DS -static const float refresh_rate = (32730.0 * 8192.0) / 4481134.0 ; +static const float refresh_rate = (32730.0 * 8192.0) / 4481134.0 ; +static const float crt_refresh_rate = (32730.0 * 8192.0) / 4481134.0 ; #else -static const float refresh_rate = 60/1.001; +static const float refresh_rate = 60/1.001; +static const float crt_refresh_rate = 60/1.001; #endif -static const float crt_refresh_rate = refresh_rate; /* Allow games to set rotation. If false, rotation requests are * honored, but ignored.