mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-31 07:45:48 -04:00
Merge remote-tracking branch 'origin/main' into 26-02-27-pjb-dev-2
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include "f_pc/f_pc_create_req.h"
|
||||
#include "SSystem/SComponent/c_malloc.h"
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "f_pc/f_pc_create_iter.h"
|
||||
#include "f_pc/f_pc_deletor.h"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "f_pc/f_pc_load.h"
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
|
||||
int fpcFCtRq_Do(fast_create_request* i_createReq) {
|
||||
if (i_createReq->create_func != NULL &&
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "f_pc/f_pc_pause.h"
|
||||
#include "f_pc/f_pc_node.h"
|
||||
#include "f_pc/f_pc_layer_iter.h"
|
||||
#include <cstdint>
|
||||
|
||||
int fpcPause_IsEnable(void* i_proc, u8 i_flag) {
|
||||
if ((((base_process_class*)i_proc)->pause_flag & i_flag) == i_flag) {
|
||||
@@ -20,7 +21,7 @@ int fpcPause_Enable(void* i_proc, u8 i_flag) {
|
||||
|
||||
if (fpcBs_Is_JustOfType(g_fpcNd_type, ((base_process_class*)i_proc)->subtype)) {
|
||||
fpcLyIt_OnlyHere(&((process_node_class*)i_proc)->layer, (fpcLyIt_OnlyHereFunc)fpcPause_Enable,
|
||||
(void*)i_flag);
|
||||
(void*)(uintptr_t)i_flag);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
@@ -30,7 +31,7 @@ int fpcPause_Disable(void* i_proc, u8 i_flag) {
|
||||
((base_process_class*)i_proc)->pause_flag &= var_r31;
|
||||
|
||||
if (fpcBs_Is_JustOfType(g_fpcNd_type, ((base_process_class*)i_proc)->subtype)) {
|
||||
fpcLyIt_OnlyHere(&((process_node_class*)i_proc)->layer, (fpcLyIt_OnlyHereFunc)fpcPause_Disable, (void*)i_flag);
|
||||
fpcLyIt_OnlyHere(&((process_node_class*)i_proc)->layer, (fpcLyIt_OnlyHereFunc)fpcPause_Disable, (void*)(uintptr_t)i_flag);
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
||||
@@ -8,9 +8,22 @@
|
||||
#include "f_pc/f_pc_node.h"
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
#include "f_pc/f_pc_debug_sv.h"
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
#include <dolphin/dolphin.h>
|
||||
#include <cstdio>
|
||||
|
||||
typedef struct standard_create_request_class {
|
||||
/* 0x00 */ create_request base;
|
||||
/* 0x48 */ request_of_phase_process_class phase_request;
|
||||
/* 0x50 */ s16 process_name;
|
||||
/* 0x54 */ void* process_append;
|
||||
/* 0x58 */ stdCreateFunc create_post_method;
|
||||
/* 0x5C */ void* unk_0x5C;
|
||||
#if DEBUG
|
||||
/* 0x60 */ int unk_0x60;
|
||||
#endif
|
||||
} standard_create_request_class;
|
||||
|
||||
int fpcSCtRq_phase_Load(standard_create_request_class* i_request) {
|
||||
int ret = fpcLd_Load(i_request->process_name);
|
||||
printf("[DIAG] fpcSCtRq_phase_Load: procName=%d ret=%d\n", i_request->process_name, ret); fflush(stdout);
|
||||
|
||||
Reference in New Issue
Block a user