#pragma once #include struct EmulatorOptions { std::string disk1; std::string disk2; bool createMissingDisks; std::string snapshot; int memclear; bool log; bool benchmark; bool headless; bool ntsc; bool squaring; // turn the x/y range to a square bool saveConfigurationOnExit; bool useQtIni; // use Qt .ini file (read only) bool run; // false if options include "-h" bool multiThreaded; bool looseMutex; // whether SDL_UpdateTexture is mutex protected (from CPU) int timerInterval; // only when multithreaded }; bool getEmulatorOptions(int argc, const char * argv [], const std::string & version, EmulatorOptions & options);