Skip to content

Commit

Permalink
Update for v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
averne committed May 22, 2020
1 parent 561f66f commit bac1025
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ endif

TOPDIR ?= $(CURDIR)

VERSION = 1.4.0
VERSION = 1.4.1
COMMIT = $(shell git rev-parse --short HEAD)

# -----------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions src/background.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include <array>
#include <string>
#include <glad/glad.h>
#include <stb_image.h>

Expand Down
1 change: 0 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
constexpr static auto acnh_programid = 0x01006f8002326000ul;
constexpr static auto save_main_path = "/main.dat";
constexpr static auto save_hdr_path = "/mainHeader.dat";
constexpr static auto bg_path = "romfs:/background.png";

constexpr static std::array day_names = {
"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday",
Expand Down
5 changes: 3 additions & 2 deletions src/turnip_parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace tp {
enum class Version: std::size_t {
V100,
V110, V111, V112, V113, V114,
V120,
V120, V121,
Unknown,
};

Expand Down Expand Up @@ -62,11 +62,12 @@ constexpr static std::array versions = {
VersionInfo{ 0x6d, 0x78, 2, 0, 2, 4 }, // 1.1.3
VersionInfo{ 0x6d, 0x78, 2, 0, 2, 5 }, // 1.1.4
VersionInfo{ 0x20006, 0x20008, 2, 0, 2, 6 }, // 1.2.0
VersionInfo{ 0x20006, 0x20008, 2, 0, 2, 7 }, // 1.2.1
};

constexpr static std::array offsets = {
0x4118C0ul, 0x412060ul, 0x412060ul, 0x412060ul, 0x412060ul, 0x412060ul,
0x412060ul,
0x412060ul, 0x412060ul,
};

constexpr static std::array patterns = {
Expand Down

0 comments on commit bac1025

Please sign in to comment.