reimplement gnCreateOutputDevice

This commit is contained in:
Greg Wells
2025-05-23 15:01:59 -04:00
parent 273b1ad59e
commit 8744b56955
14 changed files with 43 additions and 104 deletions

View File

@@ -3,6 +3,9 @@
#include "stdio.h"
gnReturnCode gnCreateDebugger(gnDebugger* debugger, gnInstance* instance, const struct gnDebuggerInfo_t info) {
if (instance->debugger != NULL)
return GN_DEBUGGER_EXISTS;
debugger->info = info;
debugger->instance = instance;
return instance->functions->_gnCreateDebugger(debugger, instance, info);
}