From 4cf92103d83638ca702be9c17d43efcf2a552d27 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 5 Apr 2023 07:20:06 +0200 Subject: [PATCH] fix: Names of disassembler architectures not corresponding to their actual type Fixes #1010 --- lib/libimhex/include/hex/helpers/disassembler.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libimhex/include/hex/helpers/disassembler.hpp b/lib/libimhex/include/hex/helpers/disassembler.hpp index 36aefb833..b15be7c29 100644 --- a/lib/libimhex/include/hex/helpers/disassembler.hpp +++ b/lib/libimhex/include/hex/helpers/disassembler.hpp @@ -42,7 +42,7 @@ namespace hex { return cs_support(toCapstoneArchitecture(architecture)); } - constexpr static const char *const ArchitectureNames[] = { "ARM32", "ARM64", "MIPS", "x86", "PowerPC", "Sparc", "SystemZ", "XCore", "68K", "TMS320C64x", "680X", "Ethereum", "MOS65XX", "WebAssembly", "Berkeley Packet Filter", "RISC-V" }; + constexpr static const char *const ArchitectureNames[] = { "ARM32", "ARM64", "MIPS", "x86", "PowerPC", "Sparc", "SystemZ", "XCore", "68K", "TMS320C64x", "680X", "Ethereum", "WebAssembly", "RISC-V", "MOS65XX", "Berkeley Packet Filter" }; static inline i32 getArchitectureSupportedCount() { static i32 supportedCount = -1;