From 42dcfdbbecf98abd1eaa812dbee5a4fc8cc35e2f Mon Sep 17 00:00:00 2001
From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com>
Date: Mon, 29 Aug 2022 14:31:05 +0200
Subject: [PATCH] Rename R5Dev_ to SDK_

---
 r5dev/core/dllmain.cpp | 8 ++++----
 r5dev/core/init.h      | 4 ++--
 r5dev/launcher/prx.cpp | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/r5dev/core/dllmain.cpp b/r5dev/core/dllmain.cpp
index 7c42baea..a1d83f78 100644
--- a/r5dev/core/dllmain.cpp
+++ b/r5dev/core/dllmain.cpp
@@ -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;
         }
     }
diff --git a/r5dev/core/init.h b/r5dev/core/init.h
index 96f76ed1..2f6f9475 100644
--- a/r5dev/core/init.h
+++ b/r5dev/core/init.h
@@ -5,8 +5,8 @@ namespace
 	/* ==== ------- ========================================================================================================================================================= */
 }
 
-void R5Dev_Init();
-void R5Dev_Shutdown();
+void SDK_Init();
+void SDK_Shutdown();
 
 void Systems_Init();
 void Systems_Shutdown();
diff --git a/r5dev/launcher/prx.cpp b/r5dev/launcher/prx.cpp
index 47a26c66..93498f44 100644
--- a/r5dev/launcher/prx.cpp
+++ b/r5dev/launcher/prx.cpp
@@ -7,7 +7,7 @@
 //-----------------------------------------------------------------------------
 void h_exit_or_terminate_process(UINT uExitCode)
 {
-	R5Dev_Shutdown();
+	//SDK_Shutdown();
 
 	HANDLE h = GetCurrentProcess();
 	TerminateProcess(h, uExitCode);