@@ -136,7 +136,6 @@ CCore::CCore()
136
136
m_pMouseControl = new CMouseControl ();
137
137
138
138
// Create our hook objects.
139
- // m_pFileSystemHook = new CFileSystemHook ( );
140
139
m_pDirect3DHookManager = new CDirect3DHookManager ();
141
140
m_pDirectInputHookManager = new CDirectInputHookManager ();
142
141
m_pMessageLoopHook = new CMessageLoopHook ();
@@ -210,7 +209,6 @@ CCore::~CCore()
210
209
211
210
// Delete hooks.
212
211
delete m_pSetCursorPosHook;
213
- // delete m_pFileSystemHook;
214
212
delete m_pDirect3DHookManager;
215
213
delete m_pDirectInputHookManager;
216
214
@@ -839,12 +837,8 @@ void CCore::ApplyHooks()
839
837
// Create our hooks.
840
838
m_pDirectInputHookManager->ApplyHook ();
841
839
// m_pDirect3DHookManager->ApplyHook ( );
842
- // m_pFileSystemHook->ApplyHook ( );
843
840
m_pSetCursorPosHook->ApplyHook ();
844
841
845
- // Redirect basic files.
846
- // m_pFileSystemHook->RedirectFile ( "main.scm", "../../mta/gtafiles/main.scm" );
847
-
848
842
// Remove useless DirectPlay dependency (dpnhpast.dll) @ 0x745701
849
843
// We have to patch here as multiplayer_sa and game_sa are loaded too late
850
844
DetourLibraryFunction (" kernel32.dll" , " LoadLibraryA" , Win32LoadLibraryA, SkipDirectPlay_LoadLibraryA);
0 commit comments