Merge pull request #7321 from VPeruS/fix-assignment

Core/UICommon: Fix assignment to pointer
This commit is contained in:
Mat M 2018-08-12 16:59:56 -04:00 committed by GitHub
commit 3d0ea980a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ std::string DisassembleBlock(HostDisassembler* disasm, u32* address, u32* host_i
}
else if (res == 2)
{
host_instructions_count = 0;
*host_instructions_count = 0;
return "(No translation)";
}
return disasm->DisassembleHostBlock(code, *code_size, host_instructions_count, (u64)code);