diff --git a/README.md b/README.md index 62d4eb16..944abeb6 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,6 @@ This is a disassembly of The Legend of Zelda: The Minish Cap (USA). It builds the following ROM: -* [**zeldatmc.gba**](https://datomatic.no-intro.org/index.php?page=show_record&s=23&n=1841) `sha1: b4bd50e4131b027c334547b4524e2dbbd4227130` +* [**tmc.gba**](https://datomatic.no-intro.org/index.php?page=show_record&s=23&n=1841) `sha1: b4bd50e4131b027c334547b4524e2dbbd4227130` To set up the repository, see [INSTALL.md](INSTALL.md). diff --git a/asm/InitializeLink.s b/asm/initializeLink.s similarity index 100% rename from asm/InitializeLink.s rename to asm/initializeLink.s diff --git a/asmdiff.sh b/asmdiff.sh index 713878d7..bf6a907a 100644 --- a/asmdiff.sh +++ b/asmdiff.sh @@ -1,6 +1,6 @@ #!/bin/bash -buildname=zeldatmc +buildname=tmc baserom=baserom OBJDUMP="$DEVKITARM/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb" diff --git a/tools/preproc/charmap.cpp b/tools/preproc/charmap.cpp index 5625a852..45a6b50a 100644 --- a/tools/preproc/charmap.cpp +++ b/tools/preproc/charmap.cpp @@ -69,6 +69,7 @@ CharmapReader::CharmapReader(std::string filename) : m_filename(filename) { if (filename == "") { + m_pos = 0; m_size = 0; m_buffer = new char[1] {}; return; diff --git a/zeldatmc.sha1 b/zeldatmc.sha1 deleted file mode 100644 index c965d243..00000000 --- a/zeldatmc.sha1 +++ /dev/null @@ -1 +0,0 @@ -b4bd50e4131b027c334547b4524e2dbbd4227130 zeldatmc.gba