Skip to content

Commit 4dcfa67

Browse files
committed
Move helper constexpr up
1 parent 3dfe2cd commit 4dcfa67

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ struct Entry
4848
};
4949

5050
// data
51+
constexpr uint32_t PSEXE_OFFSET(uint32_t offset) { return offset - 0x90000; }
52+
5153
constexpr VersionData SLUS_DATA = {
5254
.psexePath = "SLUS_010.32",
5355
.alltimPath = "CHDAT/ALLTIM.TIM",
@@ -65,7 +67,6 @@ constexpr VersionData SLPS_DATA = {
6567
};
6668

6769
// functions
68-
constexpr uint32_t PSEXE_OFFSET(uint32_t offset) { return offset - 0x90000; }
6970

7071
template<typename T> std::vector<T> readFileAsVector(std::filesystem::path path)
7172
{

0 commit comments

Comments
 (0)