summaryrefslogtreecommitdiff
path: root/src/core/arm/interpreter/arminit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/arm/interpreter/arminit.cpp')
-rw-r--r--src/core/arm/interpreter/arminit.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/arm/interpreter/arminit.cpp b/src/core/arm/interpreter/arminit.cpp
index d3174c9a0..abafe226e 100644
--- a/src/core/arm/interpreter/arminit.cpp
+++ b/src/core/arm/interpreter/arminit.cpp
@@ -15,6 +15,7 @@
15 along with this program; if not, write to the Free Software 15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 16 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17 17
18#include <cstring>
18#include "core/arm/skyeye_common/armdefs.h" 19#include "core/arm/skyeye_common/armdefs.h"
19#include "core/arm/skyeye_common/armemu.h" 20#include "core/arm/skyeye_common/armemu.h"
20 21
@@ -23,7 +24,7 @@
23\***************************************************************************/ 24\***************************************************************************/
24ARMul_State* ARMul_NewState(ARMul_State* state) 25ARMul_State* ARMul_NewState(ARMul_State* state)
25{ 26{
26 memset (state, 0, sizeof (ARMul_State)); 27 memset(state, 0, sizeof(ARMul_State));
27 28
28 state->Emulate = RUN; 29 state->Emulate = RUN;
29 for (unsigned int i = 0; i < 16; i++) { 30 for (unsigned int i = 0; i < 16; i++) {