jbhook: add adapter hook

This commit is contained in:
233596621999a3accb78d883a9ab4d1f3460d772
2020-06-14 02:22:07 +02:00
parent 77527e346b
commit e5331fbc7c
4 changed files with 14 additions and 0 deletions
+7
View File
@@ -37,6 +37,7 @@ void options_init(struct options *options)
options->window_framed = false;
options->disable_p4ioemu = false;
options->disable_cardemu = false;
options->disable_adapteremu = false;
}
bool options_read_cmdline(struct options *options, int argc, const char **argv)
@@ -64,6 +65,11 @@ bool options_read_cmdline(struct options *options, int argc, const char **argv)
break;
}
case 'a': {
options->disable_adapteremu = true;
break;
}
case 'c': {
options->disable_cardemu = true;
break;
@@ -90,6 +96,7 @@ void options_print_usage(void)
" -h Print this usage message\n"
" -w Run the game windowed\n"
" -f Run the game in a framed window (needs -w option)\n"
" -a Disable adapter hook\n"
" -c Disable card emulation (e.g. when running on a "
"real cab)\n"
" -p Disable p4io emulation (e.g. when running on a "