#include #include #include #include #include #include #include #define inf(...) SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, __VA_ARGS__); #define err(...) SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, __VA_ARGS__); #define fail(...) { \ SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, __VA_ARGS__); \ exit(1); \ } extern bool cpu_verbose; extern bool sdl_verbose; extern void sdl_init(void); extern void sdl_quit(void); extern void cpu_loop(void);