diff options
Diffstat (limited to 'csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp')
| -rw-r--r-- | csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp b/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp index 571f3cb..abed829 100644 --- a/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp +++ b/csgo-loader/csgo-client/RemoteCode/RemoteProcess.cpp @@ -30,7 +30,7 @@ namespace RemoteCode m_Process = OpenProcess(PROCESS_ALL_ACCESS, false, ProcessEntry.th32ProcessID);
if(!m_Process)
- ERROR_ASSERT("[000G:%08x] There was an error with accessing a process.", GetLastError());
+ ERROR_ASSERT(STR("[000G:%08x] There was an error with accessing a process."), GetLastError());
return true;
}
@@ -47,7 +47,7 @@ namespace RemoteCode NTSTATUS Status = ZwReadVirtualMemory(m_Process, Address, Data, SizeOfData, nullptr);
if(NT_ERROR(Status))
- ERROR_ASSERT("[00DF:%08x] There was an error with accessing a process.", Status);
+ ERROR_ASSERT(STR("[00DF:%08x] There was an error with accessing a process."), Status);
}
void RemoteProcess::WriteMemoryWrapper_Internal(void *Address, void *Data, size_t SizeOfData)
@@ -57,7 +57,7 @@ namespace RemoteCode NTSTATUS Status = ZwWriteVirtualMemory(m_Process, Address, Data, SizeOfData, nullptr);
if(NT_ERROR(Status))
- ERROR_ASSERT("[00DF:%08x] There was an error with accessing a process.", Status);
+ ERROR_ASSERT(STR("[00DF:%08x] There was an error with accessing a process."), Status);
}
void *RemoteProcess::Allocate(size_t AllocationSize)
@@ -76,7 +76,7 @@ namespace RemoteCode );
if(NT_ERROR(Status))
- ERROR_ASSERT("[00DF:%08x] There was an error with accessing a process.", Status);
+ ERROR_ASSERT(STR("[00DF:%08x] There was an error with accessing a process."), Status);
return AllocationAddress;
}
@@ -98,7 +98,7 @@ namespace RemoteCode if(strstr(ModuleEntry.szModule, ModuleName))
{
if(!ModuleEntry.hModule)
- ERROR_ASSERT("[00DF:00001C00] An integrity check failed.");
+ ERROR_ASSERT(STR("[00DF:00001C00] An integrity check failed."));
CloseHandle(Toolhelp);
return RemoteModule(ModuleEntry.hModule);
|
