summaryrefslogtreecommitdiffhomepage
path: root/src/alias.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2023-06-10 16:44:19 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2023-06-10 16:51:02 +0100
commit1c4318331663b152b0b298bd2c9e5c971506a86b (patch)
treea402681cb84b491819ba5018525c16340110fd4d /src/alias.c
parent602a18977d500ad068fd63fbedcafb630c29ee72 (diff)
Prune some comments and tidy up other minor things
Diffstat (limited to 'src/alias.c')
-rw-r--r--src/alias.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/alias.c b/src/alias.c
index e390cd1..c660367 100644
--- a/src/alias.c
+++ b/src/alias.c
@@ -76,7 +76,6 @@ static bool find_alias_head(con_cmdcb alias_cb) {
for (const uchar *p = insns; p - insns < 64;) {
// alias command with no args calls ConMsg() then loads the head pointer
// that asm looks like: call <reg>; mov <reg>, dword ptr [x]
- // (we don't care about the exact registers)
if (p[0] == X86_MISCMW && (p[1] & 0xF8) == 0xD0 &&
p[2] == X86_MOVRMW && (p[3] & 0xC7) == 0x05) {
_alias_head = mem_loadptr(p + 4);