mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #94 from Tilka/uninitialized
Fix struct initialization
This commit is contained in:
@ -173,7 +173,8 @@ const u8 *Jitx86Base::BackPatch(u8 *codePtr, u32 emAddress, void *ctx_void)
|
|||||||
if (!jit->IsInCodeSpace(codePtr))
|
if (!jit->IsInCodeSpace(codePtr))
|
||||||
return 0; // this will become a regular crash real soon after this
|
return 0; // this will become a regular crash real soon after this
|
||||||
|
|
||||||
InstructionInfo info;
|
InstructionInfo info = {};
|
||||||
|
|
||||||
if (!DisassembleMov(codePtr, &info)) {
|
if (!DisassembleMov(codePtr, &info)) {
|
||||||
BackPatchError("BackPatch - failed to disassemble MOV instruction", codePtr, emAddress);
|
BackPatchError("BackPatch - failed to disassemble MOV instruction", codePtr, emAddress);
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user