#ifndef PW_CONFIG_H #define PW_CONFIG_H #include #include #include "scale.h" /** * The configuration for PICO-w. */ struct pw_config { bool debug; char *carts; enum pw_scale_mode mode; size_t memory; SDL_LogPriority logp; }; /** * Loads the configuration, reading overrides from the command line. */ struct pw_config *pw_config_load(int argc, char **argv); /** * Frees the configuration. */ void pw_config_free(struct pw_config *config); #endif