GFX: add dpi-awareness switch for all games (#64)

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>
This commit is contained in:
2025-03-14 11:53:31 +00:00
committed by Dniel97
parent 70c3e2fe0f
commit 61f95c3f2e
14 changed files with 64 additions and 2 deletions

View File

@ -342,6 +342,38 @@ Nu chassis DIP switch settings:
- `111`: 1920x1080
- Switch 8: Game-specific. Not used in any shipping game.
## `[gfx]`
### `enable`
Default: `1`
Enables graphic hooks.
### `windowed`
Default: `0`
Force the game to run windowed.
### `framed`
Default: `0`
Add a frame to the game window if running windowed.
### `monitor`
Default: `0`
Select the monitor to run the game on. (Fullscreen only, 0 = primary screen)
### `dpiAware`
Default: `1`
Sets the game to be DPI-aware. This prevents Windows automatically scaling the game window by your desktop's scaling factor, which may cause blurry graphics.
## `[hwmon]`
Configure stub implementation of the platform hardware monitor driver. The