forked from TeamTofuShop/segatools
Pretty simple, adds a new config setting to the gfx category, which defaults to enabled to disable DPI scaling if a scale higher than 100% is used, causing game windows to appear stretched and blurry. Reviewed-on: TeamTofuShop/segatools#64 Co-authored-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com> Co-committed-by: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com>
14 lines
199 B
C
14 lines
199 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct gfx_config {
|
|
bool enable;
|
|
bool windowed;
|
|
bool framed;
|
|
int monitor;
|
|
bool dpiAware;
|
|
};
|
|
|
|
void gfx_hook_init(const struct gfx_config *cfg);
|