mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2026-09-27 01:06:25 -05:00
chore: Apply code formatting on entire codebase for consistent style
This commit is contained in:
@@ -55,19 +55,22 @@ void sdvxhook2_config_io_init(struct cconfig *config)
|
||||
config,
|
||||
SDVXHOOK2_CONFIG_IO_DISABLE_FILE_HOOKS_KEY,
|
||||
SDVXHOOK2_CONFIG_IO_DEFAULT_DISABLE_FILE_HOOKS_VALUE,
|
||||
"Disables the built in file hooks, requiring manual file creation (/dev/raw/j.dest)");
|
||||
"Disables the built in file hooks, requiring manual file creation "
|
||||
"(/dev/raw/j.dest)");
|
||||
|
||||
cconfig_util_set_bool(
|
||||
config,
|
||||
SDVXHOOK2_CONFIG_IO_DISABLE_POWER_HOOKS_KEY,
|
||||
SDVXHOOK2_CONFIG_IO_DEFAULT_DISABLE_POWER_HOOKS_VALUE,
|
||||
"Disables the built in power control hooks, allowing game to modify system power settings");
|
||||
"Disables the built in power control hooks, allowing game to modify "
|
||||
"system power settings");
|
||||
|
||||
cconfig_util_set_bool(
|
||||
config,
|
||||
SDVXHOOK2_CONFIG_IO_DISABLE_NVAPI_HOOKS_KEY,
|
||||
SDVXHOOK2_CONFIG_IO_DEFAULT_DISABLE_NVAPI_HOOKS_VALUE,
|
||||
"Disables the built in NVAPI control hooks, allowing game to modify system monitor settings");
|
||||
"Disables the built in NVAPI control hooks, allowing game to modify "
|
||||
"system monitor settings");
|
||||
|
||||
cconfig_util_set_bool(
|
||||
config,
|
||||
|
||||
@@ -49,10 +49,12 @@ static void *my_GetProcAddress(HMODULE dll, const char *name)
|
||||
|
||||
#define OFFSET_NvAPI_DISP_SetDisplayConfig 0x5D8CF8DE
|
||||
|
||||
static void *my_nvapi_QueryInterface(uint32_t FunctionOffset) {
|
||||
static void *my_nvapi_QueryInterface(uint32_t FunctionOffset)
|
||||
{
|
||||
if (FunctionOffset == OFFSET_NvAPI_DISP_SetDisplayConfig) {
|
||||
log_info("Request for interface %x intercepted", FunctionOffset);
|
||||
// no point stubbing this, the error checking for now doesn't check the response anyways
|
||||
// no point stubbing this, the error checking for now doesn't check the
|
||||
// response anyways
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user