Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

added a message option to Core::Halt function

ShizZy539bf8bc86e0
diff --git a/src/core/src/core.cpp b/src/core/src/core.cpp
index a748ebbd7c..5b118d4fbb 100644
--- a/src/core/src/core.cpp
+++ b/src/core/src/core.cpp
@@ -42,7 +42,7 @@ void SingleStep() {
}
/// Halt the core
-void Halt() {
+void Halt(const char *msg) {
// TODO(ShizZy): ImplementMe
}
diff --git a/src/core/src/core.h b/src/core/src/core.h
index f018ff6ede..78ee3ff750 100644
--- a/src/core/src/core.h
+++ b/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();