summaryrefslogtreecommitdiffstats
path: root/src/core/arm
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-06-29 20:51:38 +0200
committerLioncash <mathew1800@gmail.com>2015-06-29 20:51:38 +0200
commite3e8ad48c1f40148695125faa4e92767a18fd487 (patch)
tree7bc3a15762468fe0170071272596ddacfc2e6d62 /src/core/arm
parentMerge pull request #895 from lioncash/vfp (diff)
downloadyuzu-e3e8ad48c1f40148695125faa4e92767a18fd487.tar
yuzu-e3e8ad48c1f40148695125faa4e92767a18fd487.tar.gz
yuzu-e3e8ad48c1f40148695125faa4e92767a18fd487.tar.bz2
yuzu-e3e8ad48c1f40148695125faa4e92767a18fd487.tar.lz
yuzu-e3e8ad48c1f40148695125faa4e92767a18fd487.tar.xz
yuzu-e3e8ad48c1f40148695125faa4e92767a18fd487.tar.zst
yuzu-e3e8ad48c1f40148695125faa4e92767a18fd487.zip
Diffstat (limited to 'src/core/arm')
-rw-r--r--src/core/arm/skyeye_common/vfp/vfp.cpp4
-rw-r--r--src/core/arm/skyeye_common/vfp/vfp.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/core/arm/skyeye_common/vfp/vfp.cpp b/src/core/arm/skyeye_common/vfp/vfp.cpp
index f40cf5955..592d32a74 100644
--- a/src/core/arm/skyeye_common/vfp/vfp.cpp
+++ b/src/core/arm/skyeye_common/vfp/vfp.cpp
@@ -26,7 +26,7 @@
#include "core/arm/skyeye_common/vfp/asm_vfp.h"
#include "core/arm/skyeye_common/vfp/vfp.h"
-unsigned VFPInit(ARMul_State* state)
+void VFPInit(ARMul_State* state)
{
state->VFP[VFP_FPSID] = VFP_FPSID_IMPLMEN<<24 | VFP_FPSID_SW<<23 | VFP_FPSID_SUBARCH<<16 |
VFP_FPSID_PARTNUM<<8 | VFP_FPSID_VARIANT<<4 | VFP_FPSID_REVISION;
@@ -40,8 +40,6 @@ unsigned VFPInit(ARMul_State* state)
// ARM11 MPCore feature register values.
state->VFP[VFP_MVFR0] = 0x11111111;
state->VFP[VFP_MVFR1] = 0;
-
- return 0;
}
void VMOVBRS(ARMul_State* state, ARMword to_arm, ARMword t, ARMword n, ARMword* value)
diff --git a/src/core/arm/skyeye_common/vfp/vfp.h b/src/core/arm/skyeye_common/vfp/vfp.h
index eb376561a..80ca93ccd 100644
--- a/src/core/arm/skyeye_common/vfp/vfp.h
+++ b/src/core/arm/skyeye_common/vfp/vfp.h
@@ -26,7 +26,7 @@
#define CHECK_VFP_ENABLED
#define CHECK_VFP_CDP_RET vfp_raise_exceptions(cpu, ret, inst_cream->instr, cpu->VFP[VFP_FPSCR]);
-unsigned VFPInit(ARMul_State* state);
+void VFPInit(ARMul_State* state);
s32 vfp_get_float(ARMul_State* state, u32 reg);
void vfp_put_float(ARMul_State* state, s32 val, u32 reg);