Bladeren bron

Merge pull request #64 from linkmauve/master

ARM: Remove a forgotten const in vfp.
bunnei 12 jaren geleden
bovenliggende
commit
c9add2e4b2
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      src/core/arm/interpreter/vfp/vfpdouble.cpp
  2. 1 1
      src/core/arm/interpreter/vfp/vfpsingle.cpp

+ 1 - 1
src/core/arm/interpreter/vfp/vfpdouble.cpp

@@ -895,7 +895,7 @@ vfp_double_multiply(struct vfp_double *vdd, struct vfp_double *vdn,
 #define NEG_SUBTRACT	(1 << 1)
 
 static u32
-vfp_double_multiply_accumulate(ARMul_State* state, int dd, int dn, int dm, u32 fpscr, u32 negate, char *func)
+vfp_double_multiply_accumulate(ARMul_State* state, int dd, int dn, int dm, u32 fpscr, u32 negate, const char *func)
 {
 	struct vfp_double vdd, vdp, vdn, vdm;
 	u32 exceptions;

+ 1 - 1
src/core/arm/interpreter/vfp/vfpsingle.cpp

@@ -917,7 +917,7 @@ vfp_single_multiply(struct vfp_single *vsd, struct vfp_single *vsn, struct vfp_s
 #define NEG_SUBTRACT	(1 << 1)
 
 static u32
-vfp_single_multiply_accumulate(ARMul_State* state, int sd, int sn, s32 m, u32 fpscr, u32 negate, char *func)
+vfp_single_multiply_accumulate(ARMul_State* state, int sd, int sn, s32 m, u32 fpscr, u32 negate, const char *func)
 {
 	struct vfp_single vsd, vsp, vsn, vsm;
 	u32 exceptions;