From 5f005fb848897fd5254f9ec55bb19787cf12a4d9 Mon Sep 17 00:00:00 2001
From: Amos <48657826+Mauler125@users.noreply.github.com>
Date: Sat, 19 Feb 2022 14:02:46 +0100
Subject: [PATCH] Fix Win32 compile for netconsole
---
r5dev/core/dllmain.cpp | 1 +
r5dev/core/r5dev.h | 14 +++++++-------
r5dev/netconsole.vcxproj | 4 ++++
3 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/r5dev/core/dllmain.cpp b/r5dev/core/dllmain.cpp
index 1144a9c0..79123413 100644
--- a/r5dev/core/dllmain.cpp
+++ b/r5dev/core/dllmain.cpp
@@ -53,6 +53,7 @@ void R5Dev_Shutdown()
return;
}
bShutDown = true;
+ spdlog::info("Shutdown GameSDK\n");
Systems_Shutdown();
WinSys_Detach();
diff --git a/r5dev/core/r5dev.h b/r5dev/core/r5dev.h
index 25de6e43..48a52355 100644
--- a/r5dev/core/r5dev.h
+++ b/r5dev/core/r5dev.h
@@ -11,11 +11,11 @@ __declspec(dllexport) void DummyExport()
const std::string R5R_LOGO[] =
{
- R"(+---------------------------------------------------------------------+)",
- R"(| ___ ___ ___ _ _ _ ___ __ _ _ |)",
- R"(| | _ \ __| _ \___| |___ __ _ __| |___ __| | __ _|_ ) / \ / | |__ |)",
- R"(| | /__ \ / -_) / _ \/ _` / _` / -_) _` | \ V // / | () || | '_ \ |)",
- R"(| |_|_\___/_|_\___|_\___/\__,_\__,_\___\__,_| \_//___(_)__(_)_|_.__/ |)",
- R"(| |)",
- R"(+---------------------------------------------------------------------+)"
+ R"(+-------------------------------------------------------------------+)",
+ R"(| ___ ___ ___ _ _ _ ___ __ ___ |)",
+ R"(| | _ \ __| _ \___| |___ __ _ __| |___ __| | __ _|_ ) / \ |_ ) |)",
+ R"(| | /__ \ / -_) / _ \/ _` / _` / -_) _` | \ V // / | () | / / |)",
+ R"(| |_|_\___/_|_\___|_\___/\__,_\__,_\___\__,_| \_//___(_)__(_)___| |)",
+ R"(| |)",
+ R"(+-------------------------------------------------------------------+)"
};
diff --git a/r5dev/netconsole.vcxproj b/r5dev/netconsole.vcxproj
index 7a4a14ff..fd3d7ba4 100644
--- a/r5dev/netconsole.vcxproj
+++ b/r5dev/netconsole.vcxproj
@@ -31,10 +31,14 @@
NotUsing
NotUsing
+ NotUsing
+ NotUsing
NotUsing
NotUsing
+ NotUsing
+ NotUsing