aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bunnei <ericbunnie@gmail.com>2014-03-30 02:13:25 -0400
committerGravatar bunnei <ericbunnie@gmail.com>2014-03-30 02:13:25 -0400
commit4fdeadb8e2f008122df9b2c532ae0661c0b545d3 (patch)
tree4b0dfebc47f7f3969c1a60e98bdad0891277bf21 /src/core
parent7c5d8f6dad86e58e3d9ce1ba3f6bfad1f4a810d6 (diff)
replaced some error logs with debug asserts
Diffstat (limited to 'src/core')
-rw-r--r--src/core/src/arm/arminit.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/src/arm/arminit.cpp b/src/core/src/arm/arminit.cpp
index d394be66..f48232ee 100644
--- a/src/core/src/arm/arminit.cpp
+++ b/src/core/src/arm/arminit.cpp
@@ -436,8 +436,7 @@ ARMul_DoProg (ARMul_State * state)
}
else {
- //pc = ARMul_Emulate26 (state); Commented out /bunnei
- ERROR_LOG(ARM11, "Unsupported ARM 26-bit Mode!");
+ _dbg_assert_msg_(ARM11, false, "Unsupported ARM 26-bit Mode!");
}
//chy 2006-02-22, should test debugmode first
//chy 2006-04-14, put below codes in ARMul_Emulate
@@ -491,8 +490,7 @@ ARMul_DoInstr (ARMul_State * state)
}
else {
- //pc = ARMul_Emulate26 (state); Commented out /bunnei
- ERROR_LOG(ARM11, "Unsupported ARM 26-bit Mode!");
+ _dbg_assert_msg_(ARM11, false, "Unsupported ARM 26-bit Mode!");
}
return (pc);