mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-28 10:24:20 +01:00
Fixed line endings in a couple of loader files.
This commit is contained in:
parent
868e770701
commit
5781b42ad4
@ -27,14 +27,14 @@
|
||||
#define _INCLUDE_METAMOD_SOURCE_LOADER_H_
|
||||
|
||||
// System
|
||||
#define SH_SYS_WIN32 1
|
||||
#define SH_SYS_WIN32 1
|
||||
#define SH_SYS_LINUX 2
|
||||
#define SH_SYS_APPLE 3
|
||||
|
||||
// Platform
|
||||
#define SH_XP_POSIX 10
|
||||
#define SH_XP_WINAPI 20
|
||||
|
||||
#define SH_SYS_APPLE 3
|
||||
|
||||
// Platform
|
||||
#define SH_XP_POSIX 10
|
||||
#define SH_XP_WINAPI 20
|
||||
|
||||
// Compiler
|
||||
#define SH_COMP_GCC 1
|
||||
#define SH_COMP_MSVC 2
|
||||
|
@ -125,7 +125,7 @@ public:
|
||||
vtable_src = (void **)*(void **)&sample;
|
||||
vtable_dest = (void **)*(void **)this;
|
||||
SourceHook::SetMemAccess(&vtable_dest[mfp_dest.vtblindex],
|
||||
sizeof(void*),
|
||||
sizeof(void*),
|
||||
SH_MEM_READ|SH_MEM_WRITE|SH_MEM_EXEC);
|
||||
vtable_dest[mfp_dest.vtblindex] = vtable_src[mfp_src.vtblindex];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user