diff options
| author | cadmic <cadmic24@gmail.com> | 2024-09-28 10:12:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-28 13:12:57 -0400 |
| commit | 04498f808f6607616e587d31d0518292a736d378 (patch) | |
| tree | b22f20f7f910d7854cc1fcf244b314c89728e9cf /src/code/z_sram.c | |
| parent | 89df3ed9ff3d8db8e8d5d8970a6ca3559c541edf (diff) | |
[PAL N64] Match file select language selection (#2240)
* [PAL N64] Match file select language selection
* sInitialLanguageInputTimerY -> sInitialLanguageInputTimerX
Diffstat (limited to 'src/code/z_sram.c')
| -rw-r--r-- | src/code/z_sram.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_sram.c b/src/code/z_sram.c index b5d93f990..9da2f405f 100644 --- a/src/code/z_sram.c +++ b/src/code/z_sram.c @@ -919,13 +919,13 @@ void Sram_InitSram(GameState* gameState, SramContext* sramCtx) { for (i = 0; i < ARRAY_COUNTU(sZeldaMagic) - 3; i++) { if (sZeldaMagic[i + SRAM_HEADER_MAGIC] != sramCtx->readBuff[i + SRAM_HEADER_MAGIC]) { PRINTF(T("SRAM破壊!!!!!!\n", "SRAM destruction!!!!!!\n")); -#if OOT_PAL +#if PLATFORM_GC && OOT_PAL gSaveContext.language = sramCtx->readBuff[SRAM_HEADER_LANGUAGE]; #endif MemCpy(sramCtx->readBuff, sZeldaMagic, sizeof(sZeldaMagic)); -#if OOT_PAL +#if PLATFORM_GC && OOT_PAL sramCtx->readBuff[SRAM_HEADER_LANGUAGE] = gSaveContext.language; #endif Sram_WriteSramHeader(sramCtx); |
