From 74b4ee66e3b5775f41526d76e7a16433b52f2627 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 22 Oct 2017 02:30:34 +0300 Subject: Fixed CMake build on macOS --- utils/gen_adldata/progs_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/gen_adldata/progs_cache.cpp') diff --git a/utils/gen_adldata/progs_cache.cpp b/utils/gen_adldata/progs_cache.cpp index 4aec9be..9a12b5c 100644 --- a/utils/gen_adldata/progs_cache.cpp +++ b/utils/gen_adldata/progs_cache.cpp @@ -102,5 +102,5 @@ size_t InsertNoSoundIns() // { 0x0F70700,0x0F70710, 0xFF,0xFF, 0x0,+0 }, insdata tmp1 = { {0x00, 0x10, 0x07, 0x07, 0xF7, 0xF7, 0x00, 0x00, 0xFF, 0xFF, 0x00}, 0, 0 }; struct ins tmp2 = { 0, 0, 0, false, 0.0 }; - return InsertIns(tmp1, tmp1, tmp2, "nosound"); + return InsertIns(tmp1, tmp1, tmp2, "nosound", ""); } -- cgit v1.2.3 From 9de1ad18d5305f21cb6998bdd88144893d0e121d Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 22 Oct 2017 04:38:58 +0300 Subject: Fix MSVC CMake compilation TODO: Fix a freaking MSVC's "invalid comparator" assert given by std::map::lower_bound() call --- utils/gen_adldata/progs_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/gen_adldata/progs_cache.cpp') diff --git a/utils/gen_adldata/progs_cache.cpp b/utils/gen_adldata/progs_cache.cpp index 9a12b5c..b51f4f8 100644 --- a/utils/gen_adldata/progs_cache.cpp +++ b/utils/gen_adldata/progs_cache.cpp @@ -100,7 +100,7 @@ size_t InsertIns( size_t InsertNoSoundIns() { // { 0x0F70700,0x0F70710, 0xFF,0xFF, 0x0,+0 }, - insdata tmp1 = { {0x00, 0x10, 0x07, 0x07, 0xF7, 0xF7, 0x00, 0x00, 0xFF, 0xFF, 0x00}, 0, 0 }; + insdata tmp1 = { {0x00, 0x10, 0x07, 0x07, 0xF7, 0xF7, 0x00, 0x00, 0xFF, 0xFF, 0x00}, 0, false}; struct ins tmp2 = { 0, 0, 0, false, 0.0 }; return InsertIns(tmp1, tmp1, tmp2, "nosound", ""); } -- cgit v1.2.3