mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-26 13:14:13 +08:00
fix
This commit is contained in:
parent
4d058af250
commit
30b5d7eedc
@ -43,12 +43,11 @@ namespace
|
||||
std::optional<HookParam> ParseHCode(std::wstring HCode,std::optional<HookParam> hpo={})
|
||||
{
|
||||
auto hp=hpo?hpo.value():HookParam{};
|
||||
|
||||
if(HCode[0]=='L')
|
||||
hp.type|=HOOK_RETURN;
|
||||
|
||||
switch (HCode[0])
|
||||
{
|
||||
case L'L':
|
||||
hp.type|=HOOK_RETURN;
|
||||
break;
|
||||
case L'B':
|
||||
hp.type|=BREAK_POINT;
|
||||
case L'H':
|
||||
|
Loading…
x
Reference in New Issue
Block a user