@@ -55,9 +55,9 @@ bool is_enough_address_space_available()
5555
5656void CEngineAPI::InitializeNotDedicated ()
5757{
58- LPCSTR r2_name = " xrRender_R2.dll " ;
59- LPCSTR r3_name = " xrRender_R3.dll " ;
60- LPCSTR r4_name = " xrRender_R4.dll " ;
58+ LPCSTR r2_name = " xrRender_R2" ;
59+ LPCSTR r3_name = " xrRender_R3" ;
60+ LPCSTR r4_name = " xrRender_R4" ;
6161
6262 if (psDeviceFlags.test (rsR4))
6363 {
@@ -110,7 +110,7 @@ void CEngineAPI::Initialize(void)
110110{
111111 // ////////////////////////////////////////////////////////////////////////
112112 // render
113- LPCSTR r1_name = " xrRender_R1.dll " ;
113+ LPCSTR r1_name = " xrRender_R1" ;
114114
115115#ifndef DEDICATED_SERVER
116116 InitializeNotDedicated ();
@@ -132,7 +132,7 @@ void CEngineAPI::Initialize(void)
132132 }
133133 // game
134134 {
135- LPCSTR g_name = " xrGame.dll " ;
135+ LPCSTR g_name = " xrGame" ;
136136 Log (" Loading DLL:" , g_name);
137137 hGame = LoadLibrary (g_name);
138138 if (0 == hGame) R_CHK (GetLastError ());
@@ -148,7 +148,7 @@ void CEngineAPI::Initialize(void)
148148 tune_enabled = FALSE ;
149149 if (strstr (Core.Params , " -tune" ))
150150 {
151- LPCSTR g_name = " vTuneAPI.dll " ;
151+ LPCSTR g_name = " vTuneAPI" ;
152152 Log (" Loading DLL:" , g_name);
153153 hTuner = LoadLibrary (g_name);
154154 if (0 == hTuner) R_CHK (GetLastError ());
@@ -197,9 +197,9 @@ void CEngineAPI::CreateRendererList()
197197 bool bSupports_r3 = false ;
198198 bool bSupports_r4 = false ;
199199
200- LPCSTR r2_name = " xrRender_R2.dll " ;
201- LPCSTR r3_name = " xrRender_R3.dll " ;
202- LPCSTR r4_name = " xrRender_R4.dll " ;
200+ LPCSTR r2_name = " xrRender_R2" ;
201+ LPCSTR r3_name = " xrRender_R3" ;
202+ LPCSTR r4_name = " xrRender_R4" ;
203203
204204 if (strstr (Core.Params , " -perfhud_hack" ))
205205 {
0 commit comments