From 7e238a32fbef7b746fd1f76fc0b15c1a010a2792 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 1 Dec 2023 19:53:13 +0100 Subject: Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS (cherry picked from commit 333630b7de15c4090392fcbbc1bc58da4d5fb138) --- src/tools/vmap4_assembler/VMapAssembler.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tools/vmap4_assembler/VMapAssembler.cpp') diff --git a/src/tools/vmap4_assembler/VMapAssembler.cpp b/src/tools/vmap4_assembler/VMapAssembler.cpp index aedafb6d3da..38eb53ed9be 100644 --- a/src/tools/vmap4_assembler/VMapAssembler.cpp +++ b/src/tools/vmap4_assembler/VMapAssembler.cpp @@ -21,9 +21,12 @@ #include "TileAssembler.h" #include "Banner.h" #include "Locales.h" +#include "Util.h" int main(int argc, char* argv[]) { + Trinity::VerifyOsVersion(); + Trinity::Locale::Init(); Trinity::Banner::Show("VMAP assembler", [](char const* text) { std::cout << text << std::endl; }, nullptr); -- cgit v1.2.3