summaryrefslogtreecommitdiff
path: root/src/save.c
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-06-01 20:40:27 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2021-06-01 20:40:27 -0400
commitf0b41debc35c2084aad6d369eab11a2d2df4ab44 (patch)
tree9b720ab0b617fa207051efc7ff9373669f7dc47b /src/save.c
parenta839463c849679974c986bf9c9c260eff0e94cb7 (diff)
parent9f5bf65fb336cf7a3ba68d32267bf993f0f6a494 (diff)
Merge branch 'master' of https://github.com/pret/pokeemerald into remove-temps
Diffstat (limited to 'src/save.c')
-rw-r--r--src/save.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/save.c b/src/save.c
index 680f33de0..52301df03 100644
--- a/src/save.c
+++ b/src/save.c
@@ -23,10 +23,6 @@ static u8 HandleWriteSector(u16 a1, const struct SaveSectionLocation *location);
// Divide save blocks into individual chunks to be written to flash sectors
-// Each 4 KiB flash sector contains 3968 bytes of actual data followed by a 128 byte footer
-#define SECTOR_DATA_SIZE 3968
-#define SECTOR_FOOTER_SIZE 128
-
/*
* Sector Layout:
*
@@ -917,7 +913,7 @@ void Task_LinkSave(u8 taskId)
if (IsLinkTaskFinished())
{
if (!tPartialSave)
- save_serialize_map();
+ SaveMapView();
tState = 3;
}
break;