summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-04-23 00:27:58 +0300
committerOxore <oxore@protonmail.com>2023-04-23 00:35:30 +0300
commit771b675f2ec83c1b6b2d41d236fc4bd3c368b1cd (patch)
tree14d83b3b84b1edc218018c8eea9a49fefe15282d /common.h
parent8b874f105d52a461942bbb8960d0f729c0865507 (diff)
Pass settings everywhere, impl cross references
Diffstat (limited to 'common.h')
-rw-r--r--common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common.h b/common.h
index 315946f..5988a29 100644
--- a/common.h
+++ b/common.h
@@ -1,5 +1,8 @@
#pragma once
+struct Settings {
+};
+
constexpr size_t kInstructionSizeStepBytes = 2;
constexpr size_t kRomSizeBytes = 4 * 1024 * 1024;
constexpr size_t kDisasmMapSizeElements = kRomSizeBytes / kInstructionSizeStepBytes;
@@ -23,4 +26,3 @@ static inline int32_t GetI32BE(uint8_t *buffer)
(static_cast<uint32_t>(buffer[2]) << 8) |
static_cast<uint32_t>(buffer[3]);
}
-