diff options
| author | Max Roncace <me@caseif.net> | 2025-12-06 16:34:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-06 13:34:47 -0800 |
| commit | a30e617e5a9b8264053788429a587ee1763eae73 (patch) | |
| tree | d4f3dbf04e754e5741ba35b1ba1083851be87597 /src/f_pc/f_pc_node_req.cpp | |
| parent | 9f1a6488512209cc1acc612aa390e9a4686037ca (diff) | |
Various debug conditional compilation cleanup (#2915)
* Global: Define DEBUG as 0 if not already defined
* Clean up DEBUG-guarded code
Diffstat (limited to 'src/f_pc/f_pc_node_req.cpp')
| -rw-r--r-- | src/f_pc/f_pc_node_req.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/f_pc/f_pc_node_req.cpp b/src/f_pc/f_pc_node_req.cpp index 6c15f5180c..dbb8640f0b 100644 --- a/src/f_pc/f_pc_node_req.cpp +++ b/src/f_pc/f_pc_node_req.cpp @@ -29,7 +29,7 @@ void fpcNdRq_ToRequestQ(node_create_request* i_request) { s32 fpcNdRq_phase_IsCreated(node_create_request* i_request) { if (fpcCtRq_IsCreatingByID(i_request->creating_id) == TRUE) { -#ifdef DEBUG +#if DEBUG if (i_request->unk_0x64-- <= 0) { i_request->unk_0x64 = 0; if (g_fpcDbSv_service[8] != NULL) { @@ -64,7 +64,7 @@ s32 fpcNdRq_phase_IsDeleteTiming(node_create_request* i_request) { s32 fpcNdRq_phase_IsDeleted(node_create_request* i_request) { if (fpcDt_IsComplete() == FALSE) { -#ifdef DEBUG +#if DEBUG if (i_request->unk_0x68-- <= 0) { i_request->unk_0x68 = 0; if (g_fpcDbSv_service[7] != NULL) { @@ -140,7 +140,7 @@ s32 fpcNdRq_Cancel(node_create_request* i_request) { s32 fpcNdRq_Handler() { node_class* node = l_fpcNdRq_Queue.mpHead; -#ifdef DEBUG +#if DEBUG if (g_fpcDbSv_service[9] != NULL) { g_fpcDbSv_service[9](&l_fpcNdRq_Queue.mSize); } @@ -218,7 +218,7 @@ node_create_request* fpcNdRq_Create(u32 i_requestSize) { cTg_Create(&req->create_tag, req); fpcMtdTg_Init(&req->method_tag, (process_method_tag_func)fpcNdRq_Cancel, req); req->request_id = request_id++; -#ifdef DEBUG +#if DEBUG req->unk_0x64 = 60; req->unk_0x68 = 60; #endif |
