mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-13 05:49:21 -04:00
f_pc mostly linked for Wii/Shield (#3015)
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#include "f_pc/f_pc_node.h"
|
||||
#include "f_pc/f_pc_layer_iter.h"
|
||||
|
||||
s32 fpcPause_IsEnable(void* i_proc, u8 i_flag) {
|
||||
int fpcPause_IsEnable(void* i_proc, u8 i_flag) {
|
||||
if ((((base_process_class*)i_proc)->pause_flag & i_flag) == i_flag) {
|
||||
return 1;
|
||||
} else {
|
||||
@@ -15,7 +15,7 @@ s32 fpcPause_IsEnable(void* i_proc, u8 i_flag) {
|
||||
}
|
||||
}
|
||||
|
||||
s32 fpcPause_Enable(void* i_proc, u8 i_flag) {
|
||||
int fpcPause_Enable(void* i_proc, u8 i_flag) {
|
||||
((base_process_class*)i_proc)->pause_flag |= i_flag;
|
||||
|
||||
if (fpcBs_Is_JustOfType(g_fpcNd_type, ((base_process_class*)i_proc)->subtype)) {
|
||||
@@ -25,7 +25,7 @@ s32 fpcPause_Enable(void* i_proc, u8 i_flag) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
s32 fpcPause_Disable(void* i_proc, u8 i_flag) {
|
||||
int fpcPause_Disable(void* i_proc, u8 i_flag) {
|
||||
u8 var_r31 = 0xFF - i_flag;
|
||||
((base_process_class*)i_proc)->pause_flag &= var_r31;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user