mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-11-04 06:47:09 +00:00 
			
		
		
		
	Fix memset/bdnzf compilation error.
This commit is contained in:
		@@ -270,7 +270,7 @@ int main()
 | 
			
		||||
 | 
			
		||||
                case PPC_INST_BDNZF:
 | 
			
		||||
                    // 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;
 | 
			
		||||
 | 
			
		||||
                case PPC_INST_BEQ:
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,7 @@
 | 
			
		||||
#pragma once
 | 
			
		||||
#include <cstdint>
 | 
			
		||||
#include <cstdlib>
 | 
			
		||||
#include <cstring>
 | 
			
		||||
#include <cmath>
 | 
			
		||||
 | 
			
		||||
#ifdef __clang__
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user