summaryrefslogtreecommitdiff
path: root/src/core/arm/interpreter/armcopro.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2015-02-10 18:28:30 -0500
committerGravatar bunnei2015-02-10 18:28:30 -0500
commit5b735bdeeae631a8494f8dc830b99e8ee15a4639 (patch)
tree6b6c09db6c6087cfbe87530140cdffd9896f20cc /src/core/arm/interpreter/armcopro.cpp
parentMerge pull request #555 from lioncash/lut (diff)
parentarm: Remove TRUE/FALSE defines (diff)
downloadyuzu-5b735bdeeae631a8494f8dc830b99e8ee15a4639.tar.gz
yuzu-5b735bdeeae631a8494f8dc830b99e8ee15a4639.tar.xz
yuzu-5b735bdeeae631a8494f8dc830b99e8ee15a4639.zip
Merge pull request #556 from lioncash/clean
arm: Remove TRUE/FALSE defines
Diffstat (limited to 'src/core/arm/interpreter/armcopro.cpp')
-rw-r--r--src/core/arm/interpreter/armcopro.cpp7
1 files changed, 3 insertions, 4 deletions
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
47} 47}
48 48
49// Install co-processor instruction handlers in this routine. 49// Install co-processor instruction handlers in this routine.
50unsigned int ARMul_CoProInit(ARMul_State* state) 50void ARMul_CoProInit(ARMul_State* state)
51{ 51{
52 // Initialise tham all first. 52 // Initialise tham all first.
53 for (unsigned int i = 0; i < 16; i++) 53 for (unsigned int i = 0; i < 16; i++)
@@ -71,11 +71,10 @@ unsigned int ARMul_CoProInit(ARMul_State* state)
71 // No handlers below here. 71 // No handlers below here.
72 72
73 // Call all the initialisation routines. 73 // Call all the initialisation routines.
74 for (unsigned int i = 0; i < 16; i++) 74 for (unsigned int i = 0; i < 16; i++) {
75 if (state->CPInit[i]) 75 if (state->CPInit[i])
76 (state->CPInit[i]) (state); 76 (state->CPInit[i]) (state);
77 77 }
78 return TRUE;
79} 78}
80 79
81// Install co-processor finalisation routines in this routine. 80// Install co-processor finalisation routines in this routine.