diff options
author | Oxore <oxore@protonmail.com> | 2023-04-23 00:27:58 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-04-23 00:35:30 +0300 |
commit | 771b675f2ec83c1b6b2d41d236fc4bd3c368b1cd (patch) | |
tree | 14d83b3b84b1edc218018c8eea9a49fefe15282d /common.h | |
parent | 8b874f105d52a461942bbb8960d0f729c0865507 (diff) |
Pass settings everywhere, impl cross references
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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]); } - |