diff options
| author | boris <wzn@moneybot.cc> | 2019-01-01 20:53:10 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2019-01-01 20:53:10 +1300 |
| commit | 00b271f265450850336c8bcfdacc8671dbc8406a (patch) | |
| tree | 975b2257495295c077320955c33fd2744c0e00ca /csgo-loader/csgo-client/RemoteCode | |
| parent | 7a3b48831bfc9c4aa8c39c1e42d5bf5dd73e43c5 (diff) | |
yah
Diffstat (limited to 'csgo-loader/csgo-client/RemoteCode')
| -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);
|
