sdvxhook: remove pci override for gfx hooks and general cleanup

This commit is contained in:
Will Xyen
2019-11-30 09:12:08 -05:00
parent e42de4fa64
commit bcabc2085a
9 changed files with 40 additions and 97 deletions
+1 -6
View File
@@ -177,6 +177,7 @@ my_MoveWindow(HWND hWnd, int X, int Y, int nWidth, int nHeight, BOOL bRepaint)
nWidth = wp.cx;
nHeight = wp.cy;
}
BOOL result = real_MoveWindow(hWnd, X, Y, nWidth, nHeight, bRepaint);
return result;
@@ -270,12 +271,6 @@ void d3d9_set_windowed(bool framed, int32_t width, int32_t height)
d3d9_window_height = height;
}
void d3d9_set_pci_id(uint16_t vid, uint16_t pid)
{
str_format(
d3d9_pci_id, sizeof(d3d9_pci_id), "PCI\\VEN_%04X&DEV_%04X", vid, pid);
}
/* ------------------------------------------------------------------------- */
static void calc_win_size_with_framed(