You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Now its just part of HackerSM64 entirely, and HackerSM64 will be the source of all changes (as long as said changes can reasonably apply to homebrew games)
25 lines
428 B
C
25 lines
428 B
C
#include <ultra64.h>
|
|
#include <PR/gs2dex.h>
|
|
#include "s2d_config.h"
|
|
#include "init.h"
|
|
#include "debug.h"
|
|
#include "s2d_error.h"
|
|
|
|
void s2d_init(void) {
|
|
s2d_error_y = TEX_HEIGHT;
|
|
if (gIsEmulator)
|
|
gSPLoadUcode(gdl_head++, s2d_text, s2d_data);
|
|
}
|
|
|
|
void s2d_stop(void) {
|
|
if (gIsEmulator) {
|
|
gSPLoadUcode(gdl_head++, zex_text, zex_data);
|
|
if deinit_cond {
|
|
my_rdp_init();
|
|
my_rsp_init();
|
|
}
|
|
}
|
|
s2d_reset_defer_index();
|
|
}
|
|
|