Skip to content

Commit

Permalink
Merge pull request #13 from KionX/master
Browse files Browse the repository at this point in the history
Minor return values fixes
  • Loading branch information
kyx0r committed Jan 4, 2020
2 parents ef13f22 + fe2f159 commit c976612
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sections/SimSetCommandSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void SimSetCommandSource()
"AND CL,0x1F \n"
"MOV EDX,0x1 \n"
"SHL EDX,CL \n"
"MOV EAX,0x1 \n"
"XOR EAX,EAX \n" // Num return values
"CMP DWORD PTR [EDI+0x14],0x1 \n" // Set or Unset
"JL L2 \n"
"OR [EBX],EDX \n"
Expand Down
2 changes: 1 addition & 1 deletion sections/SimSetFocusArmy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ void SimSetFocusArmy()
"CVTTSS2SI EAX,[EAX+0x4] \n" // ArmyIndex
"MOV ECX,[0x10C4F50] \n" // g_STIDriver
"MOV [ECX+0x0B0],EAX \n"
"MOV EAX,0x1 \n"
"XOR EAX,EAX \n" // Num return values
);
}

0 comments on commit c976612

Please sign in to comment.