mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Remove unnecessary cast for string format
This commit is contained in:
parent
87e3313e22
commit
8463811bb0
@ -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 "";
|
||||
}
|
||||
|
@ -1296,8 +1296,8 @@ 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
|
||||
0xC7, 0x00, 0x00, 0x00, // test playlist, playlist
|
||||
0x00, 0x00
|
||||
};
|
||||
void* verifyPlaylistIntegrityFn = nullptr;
|
||||
VirtualAlloc(verifyPlaylistIntegrity, 10, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user