feat(core): add StormDestroy stub

This commit is contained in:
Adam Heinermann 2025-10-03 00:46:08 -07:00 committed by fallenoak
parent 982a89b6da
commit 02f5e26f36
14 changed files with 160 additions and 64 deletions

View file

@ -128,7 +128,7 @@ EXPORTS
; Main
; This is the only *Destroy function exported, tests will need to use it instead
;StormDestroy @301 NONAME
StormDestroy @301 NONAME
;StormGetInstance @302 NONAME
;StormGetOption @303 NONAME
;StormSetOption @304 NONAME
@ -176,7 +176,7 @@ EXPORTS
;SDrawUpdatePalette @357 NONAME
;SDrawUpdateScreen @358 NONAME
;SDrawWaitForVerticalBlank @359 NONAME
; Event
;SEvtDestroy @371 NONAME
SEvtDispatch @372 NONAME

View file

@ -1,3 +1,7 @@
#include <storm/Core.hpp>
int32_t STORMAPI StormDestroy() { return 0; }
#include <storm/Big.hpp>
void STORMAPI SBigAdd(BigData*, BigData*, BigData*) {}
@ -40,7 +44,6 @@ void STORMAPI SErrSetLastError(uint32_t) {}
uint32_t STORMAPI SErrGetLastError() { return 0; }
void STORMAPI SErrSuppressErrors(uint32_t) {}
#include <storm/Event.hpp>
int32_t STORMAPI SEvtBreakHandlerChain(void*) { return 0; }