Add stubs for DrawPluginManager.dll

This commit is contained in:
Nunuhara Cabbage
2019-11-15 19:49:51 -08:00
parent 9dfc6c480c
commit f4551005ba
3 changed files with 31 additions and 1 deletions
+26
View File
@@ -0,0 +1,26 @@
/* Copyright (C) 2019 Nunuhara Cabbage <nunuhara@haniwa.technology>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://gnu.org/licenses/>.
*/
#include "hll.h"
hll_warn_unimplemented(DrawPluginManager, Load, 1);
hll_warn_unimplemented(DrawPluginManager, IsLoad, 1);
hll_deflib(DrawPluginManager) {
hll_export(Load),
hll_export(IsLoad),
NULL
};
+2 -1
View File
@@ -17,7 +17,8 @@ xsystem4 = ['ald.c',
'system4.c',
'vm.c',
]
hll_libs = ['hll/Math.c',
hll_libs = ['hll/DrawPluginManager.c',
'hll/Math.c',
'hll/MsgLogManager.c',
'hll/OutputLog.c',
'hll/SACT2.c',
+3
View File
@@ -367,6 +367,7 @@ static void system_call(int32_t code)
break;
default:
WARNING("Unimplemented syscall: 0x%X", code);
vm_stack_trace();
}
}
@@ -1069,12 +1070,14 @@ static void vm_execute(void)
}
}
extern struct library lib_DrawPluginManager;
extern struct library lib_Math;
extern struct library lib_MsgLogManager;
extern struct library lib_OutputLog;
extern struct library lib_SACT2;
struct library *libraries[] = {
&lib_DrawPluginManager,
&lib_Math,
&lib_MsgLogManager,
&lib_OutputLog,