aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDedicatedTest')
-rw-r--r--NorthstarDedicatedTest/dedicatedmaterialsystem.cpp2
-rw-r--r--NorthstarDedicatedTest/masterserver.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
index a05eb8de..7097e11a 100644
--- a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
+++ b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp
@@ -13,6 +13,8 @@ HRESULT __stdcall D3D11CreateDeviceHook(void* pAdapter, int DriverType, HMODULE
// note: this is super duper temp pretty much just messing around with it
// does run surprisingly well on dedi for a software driver tho if you ignore the +1gb ram usage at times, seems like dedi doesn't really call gpu much even with renderthread still being a thing
// will be using this hook for actual d3d stubbing and stuff later
+
+ // atm, i think the play might be to run d3d in software, and then just stub out any calls that allocate memory/use alot of resources (e.g. createtexture and that sorta thing)
if (CommandLine()->CheckParm("-softwared3d11"))
DriverType = 5; // D3D_DRIVER_TYPE_WARP
diff --git a/NorthstarDedicatedTest/masterserver.cpp b/NorthstarDedicatedTest/masterserver.cpp
index 0570247a..152f7cfa 100644
--- a/NorthstarDedicatedTest/masterserver.cpp
+++ b/NorthstarDedicatedTest/masterserver.cpp
@@ -81,7 +81,7 @@ void MasterServerManager::AuthenticateOriginWithMasterServer(char* uid, char* or
httplib::Client http(Cvar_ns_masterserver_hostname->m_pszString);
http.set_connection_timeout(10);
- spdlog::info("Trying to authenticate with northstar masterserver for user {} {}", uidStr, tokenStr);
+ spdlog::info("Trying to authenticate with northstar masterserver for user {}", uidStr);
if (auto result = http.Get(fmt::format("/client/origin_auth?id={}&token={}", uidStr, tokenStr).c_str()))
{