added emulator check
This commit is contained in:
1 parent
fcd621ef71
commit
78e6ee8b4e
5 files changed
+21
-41
No files matched your search
@@ -7,19 +7,18 @@
|
||||
|
||||
void s2d_init(void) {
|
||||
s2d_error_y = TEX_HEIGHT;
|
||||
#ifdef DRAW_S2D
|
||||
if (IS_RUNNING_ON_EMULATOR)
|
||||
gSPLoadUcode(gdl_head++, s2d_text, s2d_data);
|
||||
#endif
|
||||
}
|
||||
|
||||
void s2d_stop(void) {
|
||||
#ifdef DRAW_S2D
|
||||
if (IS_RUNNING_ON_EMULATOR) {
|
||||
gSPLoadUcode(gdl_head++, zex_text, zex_data);
|
||||
if deinit_cond {
|
||||
my_rdp_init();
|
||||
my_rsp_init();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
s2d_reset_defer_index();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user