This commit is contained in:
Aaron Robinson 2003-11-04 23:22:18 +00:00
parent 11d164132b
commit 96da22e974
3 changed files with 3 additions and 1 deletions

BIN
Cxbx.opt

Binary file not shown.

View File

@ -2697,6 +2697,7 @@ static void EmuFlushD3DIVB()
HRESULT hRet = g_pD3DDevice8->DrawPrimitiveUP(XTL::EmuPrimitiveType(g_dwD3DIVBPrim), XTL::EmuD3DVertex2PrimitiveCount(g_dwD3DIVBPrim, g_dwD3DIVBInd), pStreamData, i/g_dwD3DIVBInd);
// HACK: TODO: probably unnecessary!!!
g_pD3DDevice8->Present(0,0,0,0);
free(pStreamData);

View File

@ -589,7 +589,7 @@ XBSYSAPI EXPORTNUM(126) xboxkrnl::ULONGLONG NTAPI xboxkrnl::KeQueryPerformanceCo
::LARGE_INTEGER Counter;
QueryPerformanceFrequency(&Counter);
QueryPerformanceCounter(&Counter);
EmuSwapFS(); // Xbox FS
@ -610,6 +610,7 @@ XBSYSAPI EXPORTNUM(127) xboxkrnl::ULONGLONG NTAPI xboxkrnl::KeQueryPerformanceFr
}
#endif
// Xbox Performance Counter Frequency := 337F98h
::LARGE_INTEGER Frequency;
QueryPerformanceFrequency(&Frequency);