f_pc mostly linked for Wii/Shield (#3015)

This commit is contained in:
Max Roncace
2026-01-06 07:45:15 -05:00
committed by GitHub
parent 3679e7abab
commit fd863582d6
64 changed files with 363 additions and 336 deletions
+3 -3
View File
@@ -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;