Skip to content

Commit 50d914e

Browse files
committed
Linker: Fix Various Line Endings
1 parent c2dc37a commit 50d914e

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

components/linker_pc/linker.cpp

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
#include "stdafx.h"
2-
3-
// 0x00420493
4-
void __declspec(naked) mfh_MapEnts_ParseEntities()
5-
{
6-
// Drop the node if no custom ents file is present
7-
_asm
8-
{
9-
call MapEnts_CustomEntsFile_IsPresent
10-
test eax, eax
11-
jz DROP_NODE
12-
13-
// LOAD_NODE:
14-
mov eax, 0x00420499
15-
jmp eax
16-
17-
DROP_NODE:
18-
mov eax, 0x0042083C
19-
jmp eax
20-
}
1+
#include "stdafx.h"
2+
3+
// 0x00420493
4+
void __declspec(naked) mfh_MapEnts_ParseEntities()
5+
{
6+
// Drop the node if no custom ents file is present
7+
_asm
8+
{
9+
call MapEnts_CustomEntsFile_IsPresent
10+
test eax, eax
11+
jz DROP_NODE
12+
13+
// LOAD_NODE:
14+
mov eax, 0x00420499
15+
jmp eax
16+
17+
DROP_NODE:
18+
mov eax, 0x0042083C
19+
jmp eax
20+
}
2121
}

components/linker_pc/linker.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#pragma once
2-
3-
typedef bool(__cdecl *MapEnts_CustomEntsFile_IsPresent_t)();
4-
static MapEnts_CustomEntsFile_IsPresent_t MapEnts_CustomEntsFile_IsPresent = (MapEnts_CustomEntsFile_IsPresent_t)0x0041F6E0;
5-
6-
void mfh_MapEnts_ParseEntities();
1+
#pragma once
2+
3+
typedef bool(__cdecl *MapEnts_CustomEntsFile_IsPresent_t)();
4+
static MapEnts_CustomEntsFile_IsPresent_t MapEnts_CustomEntsFile_IsPresent = (MapEnts_CustomEntsFile_IsPresent_t)0x0041F6E0;
5+
6+
void mfh_MapEnts_ParseEntities();

0 commit comments

Comments
 (0)