From 771b675f2ec83c1b6b2d41d236fc4bd3c368b1cd Mon Sep 17 00:00:00 2001 From: Oxore Date: Sun, 23 Apr 2023 00:27:58 +0300 Subject: Pass settings everywhere, impl cross references --- common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'common.h') 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(buffer[2]) << 8) | static_cast(buffer[3]); } - -- cgit v1.2.3