diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2023-06-10 16:44:19 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2023-06-10 16:51:02 +0100 |
commit | 1c4318331663b152b0b298bd2c9e5c971506a86b (patch) | |
tree | a402681cb84b491819ba5018525c16340110fd4d /src/bind.c | |
parent | 602a18977d500ad068fd63fbedcafb630c29ee72 (diff) |
Prune some comments and tidy up other minor things
Diffstat (limited to 'src/bind.c')
-rw-r--r-- | src/bind.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -39,8 +39,7 @@ static bool find_keyinfo(con_cmdcb klbc_cb) { #ifdef _WIN32 const uchar *insns = (const uchar *)klbc_cb; for (const uchar *p = insns; p - insns < 32;) { - // key_listboundkeys command, in its loop through each possible index, - // does a mov from that index into a register, something like: + // key_listboundkeys loops through each index, moving into a register: // mov <reg>, dword ptr [<reg> * 8 + s_pKeyInfo] if (p[0] == X86_MOVRMW && (p[1] & 0xC7) == 4 /* SIB + imm32 */ && (p[2] & 0xC7) == 0xC5 /* [immediate + reg * 8] */) { |