1
0
mirror of https://github.com/pumpitupdev/pumptools.git synced 2024-11-24 07:00:09 +01:00

hook/exc: Remove non working window mode option

This commit is contained in:
icex2 2021-03-19 16:25:53 +01:00
parent e265c048d5
commit 9d715476d1
4 changed files with 0 additions and 21 deletions

View File

@ -4,9 +4,6 @@ game.settings=./save
# [str]: Version of the game (format YYYYMMDD). Make sure this matches exactly the version you are running because the hook lib has to apply memory patches.
game.version=20040408
# [bool (0/1)]: Force game into window mode
patch.gfx.windowed=0
# [bool (0/1)]: Enable file call monitoring
patch.hook_mon.file=0

View File

@ -129,10 +129,6 @@ static void exchook_patch_gfx_init(struct exchook_options *options)
log_assert(options);
patch_gfx_init();
if (options->patch.gfx.windowed) {
patch_gfx_force_window_mode();
}
}
static void exchook_patch_main_loop_init(struct exchook_options *options)

View File

@ -4,7 +4,6 @@
#define EXCHOOK_OPTIONS_STR_GAME_SETTINGS "game.settings"
#define EXCHOOK_OPTIONS_STR_GAME_VERSION "game.version"
#define EXCHOOK_OPTIONS_STR_PATCH_GFX_WINDOWED "patch.gfx.windowed"
#define EXCHOOK_OPTIONS_STR_PATCH_HOOK_MON_FILE "patch.hook_mon.file"
#define EXCHOOK_OPTIONS_STR_PATCH_HOOK_MON_FS "patch.hook_mon.fs"
#define EXCHOOK_OPTIONS_STR_PATCH_HOOK_MON_IO "patch.hook_mon.io"
@ -41,13 +40,6 @@ static const struct util_options_def exchook_options_def[] = {
.type = UTIL_OPTIONS_TYPE_STR,
.default_value.str = "20040408",
},
{
.name = EXCHOOK_OPTIONS_STR_PATCH_GFX_WINDOWED,
.description = "Force game into window mode",
.param = 'w',
.type = UTIL_OPTIONS_TYPE_BOOL,
.default_value.b = false,
},
{
.name = EXCHOOK_OPTIONS_STR_PATCH_HOOK_MON_FILE,
.description = "Enable file call monitoring",
@ -173,8 +165,6 @@ bool exchook_options_init(
util_options_get_str(options_opt, EXCHOOK_OPTIONS_STR_GAME_SETTINGS);
options->game.version =
util_options_get_str(options_opt, EXCHOOK_OPTIONS_STR_GAME_VERSION);
options->patch.gfx.windowed = util_options_get_bool(
options_opt, EXCHOOK_OPTIONS_STR_PATCH_GFX_WINDOWED);
options->patch.hook_mon.file = util_options_get_bool(
options_opt, EXCHOOK_OPTIONS_STR_PATCH_HOOK_MON_FILE);
options->patch.hook_mon.fs =

View File

@ -13,10 +13,6 @@ struct exchook_options {
} game;
struct patch {
struct gfx {
bool windowed;
} gfx;
struct hook_mon {
bool file;
bool fs;