summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-11-15 10:18:05 -0800
committerGitHub <noreply@github.com>2024-11-15 13:18:05 -0500
commitcf4dc98cc934cdb62ed8b5001602468fac6dfeb3 (patch)
tree64a88d718b4de4bb712c55401c28c72e98170e23 /src/boot
parente46fcbdbc95a2b1a87f1a79f7d40be19fc2013ee (diff)
Use debug macros even in N64-only code (#2298)
* Use debug macros even in N64-only code * Use UNK_FILE/UNK_LINE instead
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/z_std_dma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/boot/z_std_dma.c b/src/boot/z_std_dma.c
index d609ce6f1..b8eaecf74 100644
--- a/src/boot/z_std_dma.c
+++ b/src/boot/z_std_dma.c
@@ -541,11 +541,9 @@ s32 DmaMgr_RequestAsync(DmaRequest* req, void* ram, uintptr_t vrom, size_t size,
#if OOT_DEBUG
if ((ram == NULL) || (osMemSize < OS_K0_TO_PHYSICAL(ram) + size) || (vrom & 1) || (vrom > 0x4000000) ||
(size == 0) || (size & 1)) {
- // The line numbers for `DMA_ERROR` are only used in retail builds, but this usage was removed so
- // its line number is unknown.
//! @bug `req` is passed to `DMA_ERROR` without rom, ram and size being set
DMA_ERROR(req, NULL, "ILLIGAL DMA-FUNCTION CALL", T("パラメータ異常です", "Parameter error"), "../z_std_dma.c",
- 0, 0, 0);
+ UNK_LINE, UNK_LINE, UNK_LINE);
}
#endif