mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
popn: allow game to launch on PCs with only one monitor (#633)
## Link to GitHub Issue or related Pull Request, if one exists #618 ## Description of change The game insists on having two monitors. Hook various DX9 and Win32 monitor APIs to fake a monitor if the user only has one. This correctly convinces the game that it needs to draw two screens instead of just one. ## Testing WIP
This commit is contained in:
@@ -559,7 +559,7 @@ namespace sysutils {
|
||||
// if there is one preferred by the user, use this one, and hide others
|
||||
log_info(
|
||||
"sysutils",
|
||||
"returning second monitor, {} @ index {} (-sysutilssubmonitor)",
|
||||
"returning second monitor, {} @ index {} (-iidxsubmonitor / -sdvxsubmonitor)",
|
||||
lpDisplayDevice->DeviceName,
|
||||
iDevNum);
|
||||
return result_orig;
|
||||
|
||||
Reference in New Issue
Block a user