Skip to content

Commit 40fb501

Browse files
committed
Moved variable inside loop.
1 parent b26df5e commit 40fb501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Memory/Disassembler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ public IEnumerable<DisassembledInstruction> DisassembleCode(IntPtr address, int
5757
var eip = address;
5858
var end = address + length;
5959

60-
InstructionData instruction;
6160
while (eip.CompareTo(end) == -1)
6261
{
62+
InstructionData instruction;
6363
var res = coreFunctions.DisassembleCode(eip, end.Sub(eip).ToInt32() + 1, virtualAddress, out instruction);
6464
if (!res)
6565
{

0 commit comments

Comments
 (0)