summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/KernelCheck.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Private/Source/KernelCheck.cxx')
-rw-r--r--Private/Source/KernelCheck.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/Private/Source/KernelCheck.cxx b/Private/Source/KernelCheck.cxx
index 40833a87..bf7ac939 100644
--- a/Private/Source/KernelCheck.cxx
+++ b/Private/Source/KernelCheck.cxx
@@ -69,6 +69,11 @@ void ke_stop(const HCore::Int &id) {
kcout << "*** WHAT: CATASROPHIC FAILURE! *** \r\n";
break;
}
+ case RUNTIME_CHECK_FAILED: {
+ kcout << "*** CAUSE: RUNTIME_CHECK_FAILED *** \r\n";
+ kcout << "*** WHAT: ASSERTION FAILED! *** \r\n";
+ break;
+ }
default: {
kcout << "*** CAUSE: RUNTIME_CHECK_GENERIC *** \r\n";
break;
@@ -86,8 +91,8 @@ void ke_stop(const HCore::Int &id) {
void ke_runtime_check(bool expr, const char *file, const char *line) {
if (!expr) {
#ifdef __DEBUG__
- kcout << "Krnl: File: " << file << "\n";
- kcout << "Krnl: Line: " << line << "\n";
+ kcout << "NewKernel: File: " << file << "\n";
+ kcout << "NewKernel: Line: " << line << "\n";
#endif // __DEBUG__