summaryrefslogtreecommitdiff
path: root/src/link.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-11-04 17:12:02 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2019-11-04 17:12:02 -0500
commit2fa08605b8cf4f8f2cca6ecad046587275737b20 (patch)
tree913a034293f828caa2544cec5def0054c4a0e7f3 /src/link.c
parent57b328ad409349510691952805eb058965d3d321 (diff)
Propagate save status, type, and sector defines
Diffstat (limited to 'src/link.c')
-rw-r--r--src/link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/link.c b/src/link.c
index ac9cf9cfe..dfbc9fcb2 100644
--- a/src/link.c
+++ b/src/link.c
@@ -464,7 +464,7 @@ void LinkTestProcessKeyInput(void)
}
if (JOY_NEW(R_BUTTON))
{
- TrySavingData(1);
+ TrySavingData(SAVE_LINK);
}
if (JOY_NEW(SELECT_BUTTON))
{
@@ -1581,7 +1581,7 @@ static void CB2_PrintErrorMessage(void)
PlaySE(SE_PIN);
gWirelessCommType = 0;
sLinkErrorBuffer.unk_06 = 0;
- sub_8079B7C();
+ ResetSaveHeap();
}
}
else if (gWirelessCommType == 2)