diff options
author | ConfuSomu | 2024-02-04 14:38:58 -0500 |
---|---|---|
committer | ConfuSomu | 2024-02-04 14:38:58 -0500 |
commit | 9a74ae13182061a239f308011a3fd3ba8121c015 (patch) | |
tree | 836f7b6848bd0867338966955c242e5a17d33407 /globals.hpp | |
parent | 6b306c8dcd65016b6e022c648e2477931f9c4b95 (diff) | |
download | pico-watch-9a74ae13182061a239f308011a3fd3ba8121c015.tar pico-watch-9a74ae13182061a239f308011a3fd3ba8121c015.tar.gz pico-watch-9a74ae13182061a239f308011a3fd3ba8121c015.zip |
Implement basic SDL2 port
This allows using pico watch on a desktop computer/host which allows a
faster development cycle and easy screenshots.
Diffstat (limited to 'globals.hpp')
-rw-r--r-- | globals.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/globals.hpp b/globals.hpp index fd24542..87c0ab6 100644 --- a/globals.hpp +++ b/globals.hpp @@ -1,8 +1,9 @@ #pragma once #include "app/base_app.hpp" +#include <stdio.h> struct global_status { - BaseApp* foreground_app = 0; + BaseApp* foreground_app = nullptr; bool is_sleeping = false; bool app_ready = true; bool app_switch_requested = false; @@ -25,4 +26,4 @@ struct user_settings { }; extern global_status g_s; -extern user_settings g_user;
\ No newline at end of file +extern user_settings g_user; |