libretro / desmume

DeSmuME is a Nintendo DS emulator
http://desmume.org
GNU General Public License v2.0
35 stars 33 forks source link

Fix build error on arm hardfloat (Raspberry Pi) #4

Closed psyke83 closed 6 years ago

psyke83 commented 6 years ago

The "utils/bits.h" include needs to be added or else build will fail.

psyke83 commented 6 years ago

Here's the error:

../../utils/arm_arm/arm_jit.cpp: In function ‘bool instr_is_branch(bool, u32)’:
../../utils/arm_arm/arm_jit.cpp:1368:47: error: ‘BIT15’ was not declared in this scope
           || ((x & BRANCH_LDM) && BIT15(opcode))
                                               ^
Makefile.libretro:371: recipe for target '../../utils/arm_arm/arm_jit.o' failed
make: *** [../../utils/arm_arm/arm_jit.o] Error 1