Skip to content

Commit

Permalink
Merge pull request #406 from LukeUsher/fix-index-buffers-new
Browse files Browse the repository at this point in the history
Index buffer fixes
  • Loading branch information
LukeUsher committed Apr 29, 2017
2 parents 7c266ad + eda0481 commit 886229b
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 226 deletions.
4 changes: 3 additions & 1 deletion src/CxbxKrnl/CxbxKrnl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,9 @@ void CxbxKrnlInit
// initialize grapchics
DbgPrintf("EmuMain: Initializing render window.\n");
XTL::CxbxInitWindow(pXbeHeader, dwXbeHeaderSize);

EmuHLEIntercept(pXbeHeader);

if (bLLE_GPU)
{
DbgPrintf("EmuMain: Initializing OpenGL.\n");
Expand All @@ -765,7 +768,6 @@ void CxbxKrnlInit
XTL::EmuD3DInit();
}

EmuHLEIntercept(pXbeHeader);
// Apply Media Patches to bypass Anti-Piracy checks
// Required until we perfect emulation of X2 DVD Authentication
// See: https://multimedia.cx/eggs/xbox-sphinx-protocol/
Expand Down
Loading

0 comments on commit 886229b

Please sign in to comment.