1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2025-01-19 07:17:23 +01:00

sdvxhook2: add some minor documentation to config-gfx.h

This commit is contained in:
Will Xyen 2019-11-30 21:46:25 -05:00
parent ddd7853810
commit 0ca353b250
2 changed files with 12 additions and 2 deletions

View File

@ -3,6 +3,12 @@
#include "cconfig/cconfig.h"
/**
* Config struct for d3d9exhook
*
* Note: forced_refresh_rate sets the monitor's refresh rate
* (it does not limit FPS or anything)
*/
struct d3d9exhook_config_gfx {
bool framed;
bool windowed;
@ -11,8 +17,14 @@ struct d3d9exhook_config_gfx {
int32_t forced_refresh_rate;
};
/**
* Add the gfx config set to the cconfig object
*/
void d3d9exhook_config_gfx_init(struct cconfig *config);
/**
* Fill the actual config_gfx from the given config
*/
void d3d9exhook_config_gfx_get(
struct d3d9exhook_config_gfx *config_gfx, struct cconfig *config);

View File

@ -244,8 +244,6 @@ static BOOL STDCALL my_EnumDisplayDevicesA(
ok = real_EnumDisplayDevicesA(dev_name, dev_num, info, flags);
// force 60Hz here?
return ok;
}