diff options
Diffstat (limited to 'src/core.hpp')
-rw-r--r-- | src/core.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core.hpp b/src/core.hpp index a51d2b4..d9e68e8 100644 --- a/src/core.hpp +++ b/src/core.hpp @@ -23,6 +23,7 @@ #define DATA_DIR "/usr/local/share/candy_gear" +#include <chrono> #include <random> #include <mruby.h> @@ -87,7 +88,7 @@ struct cg_sCore int game_version_major, game_version_minor, game_version_patch; Uint32 fps; - Uint32 max_frame_duration_ms; + std::chrono::duration<long long, std::milli> max_frame_duration; SDL_Window *window; |