diff --git a/libmupen64plus/D3D8Interceptor/Direct3DDevice8Functions.cpp b/libmupen64plus/D3D8Interceptor/Direct3DDevice8Functions.cpp index 9d68d0c874..dcdae8c053 100644 --- a/libmupen64plus/D3D8Interceptor/Direct3DDevice8Functions.cpp +++ b/libmupen64plus/D3D8Interceptor/Direct3DDevice8Functions.cpp @@ -190,7 +190,7 @@ extern "C" rendering_callback(0); - hr = m_pDevice->Present(pSourceRect,pDestRect,hDestWindowOverride,pDirtyRegion); + //hr = m_pDevice->Present(pSourceRect,pDestRect,hDestWindowOverride,pDirtyRegion); LOG(hr); return hr; diff --git a/libmupen64plus/D3D8Interceptor/d3d8Wrapper.h b/libmupen64plus/D3D8Interceptor/d3d8Wrapper.h index 81747d4475..c3096ab8de 100644 --- a/libmupen64plus/D3D8Interceptor/d3d8Wrapper.h +++ b/libmupen64plus/D3D8Interceptor/d3d8Wrapper.h @@ -6,8 +6,8 @@ #pragma comment(linker, "/EXPORT:Direct3DCreate8=_Direct3DCreate8@4") -#define LOG(x) { std::ofstream myfile; myfile.open ("d3d8_wrapper_log.txt", std::ios::app); myfile << x << "\n"; myfile.close(); } -//#define LOG(x) +//#define LOG(x) { std::ofstream myfile; myfile.open ("d3d8_wrapper_log.txt", std::ios::app); myfile << x << "\n"; myfile.close(); } +#define LOG(x) #define TESTDLL_API __declspec(dllexport) diff --git a/output/dll/d3d8.dll b/output/dll/d3d8.dll index 2de01eeff9..ba0f1b3433 100644 Binary files a/output/dll/d3d8.dll and b/output/dll/d3d8.dll differ