diff --git a/r5dev/launcher/launcher.cpp b/r5dev/launcher/launcher.cpp index bc6d20ec..216b9d0e 100644 --- a/r5dev/launcher/launcher.cpp +++ b/r5dev/launcher/launcher.cpp @@ -111,7 +111,7 @@ string LoadConfigFile(const string& svConfig) } else { - spdlog::error("{:s}: '{:s}' does not exist!\n", __FUNCTION__, svConfig.c_str()); + spdlog::error("{:s}: '{:s}' does not exist!\n", __FUNCTION__, svConfig); cfgFile.close(); return ""; } diff --git a/r5dev/vpc/keyvalues.cpp b/r5dev/vpc/keyvalues.cpp index 06b484e4..d40be2b0 100644 --- a/r5dev/vpc/keyvalues.cpp +++ b/r5dev/vpc/keyvalues.cpp @@ -1295,9 +1295,9 @@ bool KeyValues::ParsePlaylists(const char* pszPlaylist) { uint8_t verifyPlaylistIntegrity[] = // Very hacky way for alternative inline assembly for x64.. { - 0x48, 0x8B, 0x45, 0x58, // mov rcx, playlist - 0xC7, 0x00, 0x00, 0x00, 0x00, // test playlist, playlist - 0x00 + 0x48, 0x8B, 0x45, 0x58, // mov rcx, playlist + 0xC7, 0x00, 0x00, 0x00, // test playlist, playlist + 0x00, 0x00 }; void* verifyPlaylistIntegrityFn = nullptr; VirtualAlloc(verifyPlaylistIntegrity, 10, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);