mirror of
https://github.com/djhackersdev/bemanitools.git
synced 2025-01-31 20:15:20 +01:00
sdvxhook2: add some minor documentation to config-gfx.h
This commit is contained in:
parent
ddd7853810
commit
0ca353b250
@ -3,6 +3,12 @@
|
|||||||
|
|
||||||
#include "cconfig/cconfig.h"
|
#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 {
|
struct d3d9exhook_config_gfx {
|
||||||
bool framed;
|
bool framed;
|
||||||
bool windowed;
|
bool windowed;
|
||||||
@ -11,8 +17,14 @@ struct d3d9exhook_config_gfx {
|
|||||||
int32_t forced_refresh_rate;
|
int32_t forced_refresh_rate;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add the gfx config set to the cconfig object
|
||||||
|
*/
|
||||||
void d3d9exhook_config_gfx_init(struct cconfig *config);
|
void d3d9exhook_config_gfx_init(struct cconfig *config);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fill the actual config_gfx from the given config
|
||||||
|
*/
|
||||||
void d3d9exhook_config_gfx_get(
|
void d3d9exhook_config_gfx_get(
|
||||||
struct d3d9exhook_config_gfx *config_gfx, struct cconfig *config);
|
struct d3d9exhook_config_gfx *config_gfx, struct cconfig *config);
|
||||||
|
|
||||||
|
@ -244,8 +244,6 @@ static BOOL STDCALL my_EnumDisplayDevicesA(
|
|||||||
|
|
||||||
ok = real_EnumDisplayDevicesA(dev_name, dev_num, info, flags);
|
ok = real_EnumDisplayDevicesA(dev_name, dev_num, info, flags);
|
||||||
|
|
||||||
// force 60Hz here?
|
|
||||||
|
|
||||||
return ok;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user