From 088fab743fcff848b342efd52bfccaf6ee62a72f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 10 Feb 2015 12:37:28 -0500 Subject: arm: Remove TRUE/FALSE defines - Removed the Debug parameter from ARMul_State since it isn't used. - Changed ARMul_CoProInit to a void function. It always returned true. --- src/core/arm/interpreter/armcopro.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/core/arm/interpreter/armcopro.cpp') diff --git a/src/core/arm/interpreter/armcopro.cpp b/src/core/arm/interpreter/armcopro.cpp index bb9ca98fe..4ae0c52e4 100644 --- a/src/core/arm/interpreter/armcopro.cpp +++ b/src/core/arm/interpreter/armcopro.cpp @@ -47,7 +47,7 @@ static unsigned int NoCoPro5W(ARMul_State* state, unsigned int a, ARMword b, ARM } // Install co-processor instruction handlers in this routine. -unsigned int ARMul_CoProInit(ARMul_State* state) +void ARMul_CoProInit(ARMul_State* state) { // Initialise tham all first. for (unsigned int i = 0; i < 16; i++) @@ -71,11 +71,10 @@ unsigned int ARMul_CoProInit(ARMul_State* state) // No handlers below here. // Call all the initialisation routines. - for (unsigned int i = 0; i < 16; i++) + for (unsigned int i = 0; i < 16; i++) { if (state->CPInit[i]) (state->CPInit[i]) (state); - - return TRUE; + } } // Install co-processor finalisation routines in this routine. -- cgit v1.2.3