mirror of
https://github.com/pumpitupdev/pumptools.git
synced 2026-09-28 17:58:01 +03:00
Support every game except for mk3 ports and pro series. Pro series can do scaling etc by game configuration and mk3 has a different gfx backend setup
60 lines
962 B
C
60 lines
962 B
C
#ifndef PRIHOOK_OPTIONS_H
|
|
#define PRIHOOK_OPTIONS_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#include "util/log.h"
|
|
|
|
struct prihook_options {
|
|
struct game {
|
|
const char *settings;
|
|
} game;
|
|
|
|
struct patch {
|
|
struct gfx {
|
|
uint8_t scaling_mode;
|
|
} gfx;
|
|
|
|
struct hook_mon {
|
|
bool file;
|
|
bool fs;
|
|
bool io;
|
|
bool open;
|
|
bool usb;
|
|
} hook_mon;
|
|
|
|
struct main_loop {
|
|
bool disable_built_in_inputs;
|
|
const char *x11_input_handler_api_lib;
|
|
} main_loop;
|
|
|
|
struct net {
|
|
const char *server;
|
|
} net;
|
|
|
|
struct piuio {
|
|
const char *api_lib;
|
|
bool exit_test_serv;
|
|
} piuio;
|
|
|
|
struct sound {
|
|
const char *device;
|
|
} sound;
|
|
|
|
struct sigsegv {
|
|
bool halt_on_segv;
|
|
} sigsegv;
|
|
} patch;
|
|
|
|
struct log {
|
|
const char *file;
|
|
enum util_log_level level;
|
|
} log;
|
|
};
|
|
|
|
bool prihook_options_init(
|
|
int argc, char **argv, struct prihook_options *options);
|
|
|
|
#endif
|