Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #94 from Tilka/uninitialized
Fix struct initialization
  • Loading branch information
delroth committed Feb 23, 2014
2 parents 4a569c4 + 3038bca commit 99db9f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/Core/PowerPC/JitCommon/JitBackpatch.cpp
Expand Up @@ -173,7 +173,8 @@ const u8 *Jitx86Base::BackPatch(u8 *codePtr, u32 emAddress, void *ctx_void)
if (!jit->IsInCodeSpace(codePtr))
return 0; // this will become a regular crash real soon after this

InstructionInfo info;
InstructionInfo info = {};

if (!DisassembleMov(codePtr, &info)) {
BackPatchError("BackPatch - failed to disassemble MOV instruction", codePtr, emAddress);
return 0;
Expand Down

0 comments on commit 99db9f0

Please sign in to comment.