diff options
| author | bunnei <bunneidev@gmail.com> | 2015-02-10 18:28:30 -0500 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2015-02-10 18:28:30 -0500 |
| commit | 5b735bdeeae631a8494f8dc830b99e8ee15a4639 (patch) | |
| tree | 6b6c09db6c6087cfbe87530140cdffd9896f20cc /src/core/arm/interpreter/armcopro.cpp | |
| parent | 8f35772bd7a4c36010a2dd74bb7ffbcdb59a8efb (diff) | |
| parent | 088fab743fcff848b342efd52bfccaf6ee62a72f (diff) | |
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.cpp | 7 |
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 } // 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. |
