Rename R5Dev_ to SDK_

This commit is contained in:
Kawe Mazidjatari 2022-08-29 14:31:05 +02:00
parent e54c2df621
commit 42dcfdbbec
3 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@
// INITIALIZATION
//#############################################################################
void R5Dev_Init()
void SDK_Init()
{
if (strstr(GetCommandLineA(), "-launcher"))
{
@ -55,7 +55,7 @@ void R5Dev_Init()
// SHUTDOWN
//#############################################################################
void R5Dev_Shutdown()
void SDK_Shutdown()
{
static bool bShutDown = false;
if (bShutDown)
@ -87,13 +87,13 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved)
{
case DLL_PROCESS_ATTACH:
{
R5Dev_Init();
SDK_Init();
break;
}
case DLL_PROCESS_DETACH:
{
R5Dev_Shutdown();
SDK_Shutdown();
break;
}
}

View File

@ -5,8 +5,8 @@ namespace
/* ==== ------- ========================================================================================================================================================= */
}
void R5Dev_Init();
void R5Dev_Shutdown();
void SDK_Init();
void SDK_Shutdown();
void Systems_Init();
void Systems_Shutdown();

View File

@ -7,7 +7,7 @@
//-----------------------------------------------------------------------------
void h_exit_or_terminate_process(UINT uExitCode)
{
R5Dev_Shutdown();
//SDK_Shutdown();
HANDLE h = GetCurrentProcess();
TerminateProcess(h, uExitCode);