mirror of
https://github.com/zeldaret/st
synced 2026-06-04 10:48:44 -04:00
Decompile MainSelect overlay (#8)
* Decompile MainSelect overlay (~90%) * cleanup * jp delinks * fixed build and linking errors
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#include "global_destructor_chain.h"
|
||||
#include "MWException.h"
|
||||
|
||||
#define CALL_DTOR(dtor, obj) (((void (*)(void *, int))(dtor))((obj), -1))
|
||||
|
||||
DestructorChain *__global_destructor_chain;
|
||||
|
||||
void *__register_global_object(void *object, void *destructor, DestructorChain *link) {
|
||||
link->next = __global_destructor_chain;
|
||||
link->destructor = destructor;
|
||||
link->object = object;
|
||||
link->next = __global_destructor_chain;
|
||||
link->dtor = destructor;
|
||||
link->object = object;
|
||||
|
||||
__global_destructor_chain = link;
|
||||
return object;
|
||||
|
||||
Reference in New Issue
Block a user