mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-23 16:05:30 +00:00
Fix memset/bdnzf compilation error.
This commit is contained in:
parent
8d4d99e644
commit
7e6b92ac6e
@ -270,7 +270,7 @@ int main()
|
|||||||
|
|
||||||
case PPC_INST_BDNZF:
|
case PPC_INST_BDNZF:
|
||||||
// NOTE: assuming eq here as a shortcut because all the instructions in the game do that
|
// NOTE: assuming eq here as a shortcut because all the instructions in the game do that
|
||||||
println("\tif (--ctx.ctr != 0 && !ctx.cr{}.eq) goto loc_{:X};", insn.operands[0], insn.operands[2]);
|
println("\tif (--ctx.ctr != 0 && !ctx.cr{}.eq) goto loc_{:X};", insn.operands[0] / 4, insn.operands[1]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PPC_INST_BEQ:
|
case PPC_INST_BEQ:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <cstring>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
#ifdef __clang__
|
#ifdef __clang__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user