1
0
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:
Scott Ehlert 2009-11-24 08:01:06 -06:00
parent 868e770701
commit 5781b42ad4
2 changed files with 8 additions and 8 deletions

View File

@ -27,14 +27,14 @@
#define _INCLUDE_METAMOD_SOURCE_LOADER_H_ #define _INCLUDE_METAMOD_SOURCE_LOADER_H_
// System // System
#define SH_SYS_WIN32 1 #define SH_SYS_WIN32 1
#define SH_SYS_LINUX 2 #define SH_SYS_LINUX 2
#define SH_SYS_APPLE 3 #define SH_SYS_APPLE 3
// Platform // Platform
#define SH_XP_POSIX 10 #define SH_XP_POSIX 10
#define SH_XP_WINAPI 20 #define SH_XP_WINAPI 20
// Compiler // Compiler
#define SH_COMP_GCC 1 #define SH_COMP_GCC 1
#define SH_COMP_MSVC 2 #define SH_COMP_MSVC 2

View File

@ -125,7 +125,7 @@ public:
vtable_src = (void **)*(void **)&sample; vtable_src = (void **)*(void **)&sample;
vtable_dest = (void **)*(void **)this; vtable_dest = (void **)*(void **)this;
SourceHook::SetMemAccess(&vtable_dest[mfp_dest.vtblindex], SourceHook::SetMemAccess(&vtable_dest[mfp_dest.vtblindex],
sizeof(void*), sizeof(void*),
SH_MEM_READ|SH_MEM_WRITE|SH_MEM_EXEC); SH_MEM_READ|SH_MEM_WRITE|SH_MEM_EXEC);
vtable_dest[mfp_dest.vtblindex] = vtable_src[mfp_src.vtblindex]; vtable_dest[mfp_dest.vtblindex] = vtable_src[mfp_src.vtblindex];
} }