20 lines
440 B
C++
20 lines
440 B
C++
#ifndef _NPC_CONFIG_H_
|
|
#define _NPC_CONFIG_H_
|
|
#include <CLI/App.hpp>
|
|
#include <CLI/CLI.hpp>
|
|
#include <CLI/Validators.hpp>
|
|
#include <filesystem>
|
|
|
|
struct Config {
|
|
std::filesystem::path memory_file;
|
|
std::string gdbsocket = "gdbstub-npc.sock";
|
|
bool do_debug{false};
|
|
bool interactive{false};
|
|
bool memory_file_binary = {true};
|
|
std::filesystem::path wavefile;
|
|
void cli_parse(int argc, char **argv);
|
|
};
|
|
|
|
extern Config config;
|
|
|
|
#endif
|