diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2024-08-15 04:13:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-14 22:13:23 -0400 |
| commit | 1649bf32d64523ba79f6896d2b9c816a9cd20e77 (patch) | |
| tree | 242f9d37eb35cd00c2088f2bc4dc3b9713301e6f /src/code/graph.c | |
| parent | fda0e6ad4badc0eea701934b80354de4ab5cad98 (diff) | |
padutils.c, line numbers (#2040)
Diffstat (limited to 'src/code/graph.c')
| -rw-r--r-- | src/code/graph.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/code/graph.c b/src/code/graph.c index 3e5df9145..8ebad9d4e 100644 --- a/src/code/graph.c +++ b/src/code/graph.c @@ -366,14 +366,22 @@ void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState) { PRINTF("%c", BEL); // "Dynamic area head is destroyed" PRINTF(VT_COL(RED, WHITE) "ダイナミック領域先頭が破壊されています\n" VT_RST); +#if PLATFORM_N64 + Fault_AddHungupAndCrash("../graph.c", 951); +#else Fault_AddHungupAndCrash("../graph.c", 1070); +#endif } if (pool->tailMagic != GFXPOOL_TAIL_MAGIC) { problem = true; PRINTF("%c", BEL); // "Dynamic region tail is destroyed" PRINTF(VT_COL(RED, WHITE) "ダイナミック領域末尾が破壊されています\n" VT_RST); +#if PLATFORM_N64 + Fault_AddHungupAndCrash("../graph.c", 957); +#else Fault_AddHungupAndCrash("../graph.c", 1076); +#endif } } @@ -465,6 +473,8 @@ void Graph_ThreadEntry(void* arg0) { sprintf(faultMsg, "CLASS SIZE= %d bytes", size); Fault_AddHungupAndCrashImpl("GAME CLASS MALLOC FAILED", faultMsg); +#elif PLATFORM_N64 + Fault_AddHungupAndCrash("../graph.c", 1081); #else Fault_AddHungupAndCrash("../graph.c", 1200); #endif |
