summaryrefslogtreecommitdiffhomepage
path: root/dev/sci
diff options
context:
space:
mode:
Diffstat (limited to 'dev/sci')
-rw-r--r--dev/sci/makefile2
-rw-r--r--dev/sci/sci.json2
-rw-r--r--dev/sci/src/sci_mm.cxx7
3 files changed, 2 insertions, 9 deletions
diff --git a/dev/sci/makefile b/dev/sci/makefile
index c66d7a78..05593216 100644
--- a/dev/sci/makefile
+++ b/dev/sci/makefile
@@ -5,7 +5,7 @@
CC=g++
FLAGS=-I../ -shared -fPIC -D__ZKA_SYMS__
-OUTPUT=zka-sci-cxx.dll
+OUTPUT=sci.dll
.PHONY: build-sci
build-sci:
diff --git a/dev/sci/sci.json b/dev/sci/sci.json
index 0bc6cdcf..e67671ce 100644
--- a/dev/sci/sci.json
+++ b/dev/sci/sci.json
@@ -3,7 +3,7 @@
"compiler_std": "c++20",
"headers_path": ["../"],
"sources_path": ["src/*.cxx"],
- "output_name": "zka-sci-cxx.dll",
+ "output_name": "sci.dll",
"compiler_flags": [
"-fPIC",
"-ffreestanding",
diff --git a/dev/sci/src/sci_mm.cxx b/dev/sci/src/sci_mm.cxx
index 34bf4936..d7665ddd 100644
--- a/dev/sci/src/sci_mm.cxx
+++ b/dev/sci/src/sci_mm.cxx
@@ -9,11 +9,6 @@
/// @file sci_base.cxx
/// @brief Base Memory Manager functions for SCI.dll
-/// @brief Debug error prompt, when a function misbehaves.
-/// @param msg
-/// @return
-IMPORT_C Void __RtlRaiseSoftError(const char* msg);
-
/// @brief Copy memory region.
IMPORT_C VoidPtr MmCopyMemory(_Input VoidPtr dest, _Input VoidPtr src, _Input SizeT len)
{
@@ -21,7 +16,6 @@ IMPORT_C VoidPtr MmCopyMemory(_Input VoidPtr dest, _Input VoidPtr src, _Input Si
!dest ||
!src)
{
- __RtlRaiseSoftError("Debug Error, MmCopyMemory contains one or more invalid arguments.");
return nullptr;
}
@@ -39,7 +33,6 @@ IMPORT_C VoidPtr MmFillMemory(_Input VoidPtr dest, _Input SizeT len, _Input UInt
if (!len ||
!dest)
{
- __RtlRaiseSoftError("Debug Error, MmFillMemory contains one or more invalid arguments.");
return nullptr;
}