mirror of
https://github.com/pumpitupdev/pumptools.git
synced 2024-11-12 01:30:48 +01:00
hook/f2: Remove non working window mode option
This commit is contained in:
parent
9d715476d1
commit
f6708adb38
3
dist/conf/f2hook.conf
vendored
3
dist/conf/f2hook.conf
vendored
@ -1,9 +1,6 @@
|
||||
# [str]: Path to game settings (SETTINGS) folder
|
||||
game.settings=./save
|
||||
|
||||
# [bool (0/1)]: Force game into window mode
|
||||
patch.gfx.windowed=0
|
||||
|
||||
# [bool (0/1)]: Enable file call monitoring
|
||||
patch.hook_mon.file=0
|
||||
|
||||
|
@ -139,10 +139,6 @@ static void f2hook_patch_gfx_init(struct f2hook_options *options)
|
||||
log_assert(options);
|
||||
|
||||
patch_gfx_init();
|
||||
|
||||
if (options->patch.gfx.windowed) {
|
||||
patch_gfx_force_window_mode();
|
||||
}
|
||||
}
|
||||
|
||||
static void f2hook_patch_main_loop_init(struct f2hook_options *options)
|
||||
|
@ -3,7 +3,6 @@
|
||||
#include "util/options.h"
|
||||
|
||||
#define F2HOOK_OPTIONS_STR_GAME_SETTINGS "game.settings"
|
||||
#define F2HOOK_OPTIONS_STR_PATCH_GFX_WINDOWED "patch.gfx.windowed"
|
||||
#define F2HOOK_OPTIONS_STR_PATCH_HOOK_MON_FILE "patch.hook_mon.file"
|
||||
#define F2HOOK_OPTIONS_STR_PATCH_HOOK_MON_FS "patch.hook_mon.fs"
|
||||
#define F2HOOK_OPTIONS_STR_PATCH_HOOK_MON_IO "patch.hook_mon.io"
|
||||
@ -33,13 +32,6 @@ const struct util_options_def f2hook_options_def[] = {
|
||||
.type = UTIL_OPTIONS_TYPE_STR,
|
||||
.default_value.str = "./save",
|
||||
},
|
||||
{
|
||||
.name = F2HOOK_OPTIONS_STR_PATCH_GFX_WINDOWED,
|
||||
.description = "Force game into window mode",
|
||||
.param = 'w',
|
||||
.type = UTIL_OPTIONS_TYPE_BOOL,
|
||||
.default_value.b = false,
|
||||
},
|
||||
{
|
||||
.name = F2HOOK_OPTIONS_STR_PATCH_HOOK_MON_FILE,
|
||||
.description = "Enable file call monitoring",
|
||||
@ -176,8 +168,6 @@ bool f2hook_options_init(int argc, char **argv, struct f2hook_options *options)
|
||||
|
||||
options->game.settings =
|
||||
util_options_get_str(options_opt, F2HOOK_OPTIONS_STR_GAME_SETTINGS);
|
||||
options->patch.gfx.windowed =
|
||||
util_options_get_bool(options_opt, F2HOOK_OPTIONS_STR_PATCH_GFX_WINDOWED);
|
||||
options->patch.hook_mon.file = util_options_get_bool(
|
||||
options_opt, F2HOOK_OPTIONS_STR_PATCH_HOOK_MON_FILE);
|
||||
options->patch.hook_mon.fs =
|
||||
|
@ -12,10 +12,6 @@ struct f2hook_options {
|
||||
} game;
|
||||
|
||||
struct patch {
|
||||
struct gfx {
|
||||
bool windowed;
|
||||
} gfx;
|
||||
|
||||
struct hook_mon {
|
||||
bool file;
|
||||
bool fs;
|
||||
|
Loading…
Reference in New Issue
Block a user