Add support for specifing monitor number for dx9 games

This commit is contained in:
Bemani Witch
2020-05-19 22:09:38 +02:00
committed by Bemani Witch
parent 82416115f5
commit 30e1d033c5
4 changed files with 7 additions and 1 deletions

View File

@ -147,7 +147,9 @@ static HRESULT STDMETHODCALLTYPE my_CreateDevice(
gfx_frame_window(hwnd);
}
return IDirect3D9_CreateDevice(real, adapter, type, hwnd, flags, pp, pdev);
dprintf("Gfx: IDirect3D9:: Using Display No %x\n", gfx_config.monitor);
return IDirect3D9_CreateDevice(real, gfx_config.monitor, type, hwnd, flags, pp, pdev);
}
static HRESULT gfx_frame_window(HWND hwnd)