Skip to content

Commit

Permalink
remove direct3d_passthrough setting
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Dec 25, 2024
1 parent 94b66b5 commit 2bec555
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 10 deletions.
1 change: 0 additions & 1 deletion inc/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ typedef struct CNCDDRAWCONFIG
BOOL flipclear;
BOOL rgb555;
BOOL no_dinput_hook;
BOOL direct3d_passthrough;
BOOL center_cursor_fix;
char fake_mode[128];
BOOL lock_mouse_top_left;
Expand Down
2 changes: 1 addition & 1 deletion src/IDirect3D/IDirect3D.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ HRESULT __stdcall IDirect3D__EnumDevices(
if (lpEnumDevicesCallback)
{
D3DDEVICEDESC desc = { 0 };
//lpEnumDevicesCallback((GUID FAR*)&IID_IDirect3DNullDevice, "NULL", "NULL", &desc, &desc, lpUserArg);
lpEnumDevicesCallback((GUID FAR*)&GUID_NULL, "NULL", "NULL", &desc, &desc, lpUserArg);
}

TRACE("NOT_IMPLEMENTED <- %s\n", __FUNCTION__);
Expand Down
2 changes: 1 addition & 1 deletion src/IDirect3D/IDirect3D2.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ HRESULT __stdcall IDirect3D2__EnumDevices(
if (lpEnumDevicesCallback)
{
D3DDEVICEDESC desc = { 0 };
//lpEnumDevicesCallback((GUID FAR*)&IID_IDirect3DNullDevice, "NULL", "NULL", &desc, &desc, lpUserArg);
//lpEnumDevicesCallback((GUID FAR*)&GUID_NULL, "NULL", "NULL", &desc, &desc, lpUserArg);
}

TRACE("NOT_IMPLEMENTED <- %s\n", __FUNCTION__);
Expand Down
2 changes: 1 addition & 1 deletion src/IDirect3D/IDirect3D3.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ HRESULT __stdcall IDirect3D3__EnumDevices(
if (lpEnumDevicesCallback)
{
D3DDEVICEDESC desc = { 0 };
//lpEnumDevicesCallback((GUID FAR*)&IID_IDirect3DNullDevice, "NULL", "NULL", &desc, &desc, lpUserArg);
//lpEnumDevicesCallback((GUID FAR*)&GUID_NULL, "NULL", "NULL", &desc, &desc, lpUserArg);
}

TRACE("NOT_IMPLEMENTED <- %s\n", __FUNCTION__);
Expand Down
6 changes: 0 additions & 6 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ void cfg_load()
GET_BOOL(g_config.flipclear, "flipclear", FALSE);
GET_BOOL(g_config.rgb555, "rgb555", FALSE);
GET_BOOL(g_config.no_dinput_hook, "no_dinput_hook", FALSE);
GET_BOOL(g_config.direct3d_passthrough, "direct3d_passthrough", FALSE);
GET_BOOL(g_config.center_cursor_fix, "center_cursor_fix", FALSE);
GET_STRING("fake_mode", "", g_config.fake_mode, sizeof(g_config.fake_mode));
GET_BOOL(g_config.lock_mouse_top_left, "lock_mouse_top_left", FALSE);
Expand Down Expand Up @@ -329,7 +328,6 @@ static void cfg_create_ini()
"flipclear=false\n"
"rgb555=false\n"
"no_dinput_hook=false\n"
"direct3d_passthrough=false\n"
"center_cursor_fix=false\n"
";fake_mode=640x480x32\n"
"lock_mouse_top_left=false\n"
Expand Down Expand Up @@ -1192,10 +1190,6 @@ static void cfg_create_ini()
"sirtech_hack=true\n"
"fix_alt_key_stuck=true\n"
"\n"
"; Jedi Knight Dark Forces 2\n"
"[JK]\n"
"direct3d_passthrough=true\n"
"\n"
"; Jeopardy! - NOT WORKING YET\n"
"[jeoppc]\n"
"singlecpu=false\n"
Expand Down

0 comments on commit 2bec555

Please sign in to comment.