Explorar o código

added a message option to Core::Halt function

ShizZy %!s(int64=13) %!d(string=hai) anos
pai
achega
539bf8bc86
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/core/src/core.cpp
  2. 1 1
      src/core/src/core.h

+ 1 - 1
src/core/src/core.cpp

@@ -42,7 +42,7 @@ void SingleStep() {
 }
 
 /// Halt the core
-void Halt() {
+void Halt(const char *msg) {
 	// TODO(ShizZy): ImplementMe
 }
 

+ 1 - 1
src/core/src/core.h

@@ -45,7 +45,7 @@ void RunLoop();
 void SingleStep();
 
 /// Halt the core
-void Halt();
+void Halt(const char *msg);
 
 /// Kill the core
 void Stop();