Skip to content

Commit e26bc2c

Browse files
authored
Merge branch 'main' into dev
2 parents bf7eb42 + 1a98569 commit e26bc2c

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

src/vmaware.hpp

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1996,27 +1996,27 @@ struct VM {
19961996
typedef NTSTATUS(WINAPI* RtlGetVersionFunc)(PRTL_OSVERSIONINFOW);
19971997

19981998
const std::map<DWORD, u8> windowsVersions = {
1999-
{ 6002, 6 }, // windows vista, technically no number but this function is just for great than operations anyway so it doesn't matter
2000-
{ 7601, 7 },
2001-
{ 9200, 8 },
2002-
{ 9600, 8 },
2003-
{ 10240, 10 },
2004-
{ 10586, 10 },
2005-
{ 14393, 10 },
2006-
{ 15063, 10 },
2007-
{ 16299, 10 },
2008-
{ 17134, 10 },
2009-
{ 17763, 10 },
2010-
{ 18362, 10 },
2011-
{ 18363, 10 },
2012-
{ 19041, 10 },
2013-
{ 19042, 10 },
2014-
{ 19043, 10 },
2015-
{ 19044, 10 },
2016-
{ 19045, 10 },
2017-
{ 22000, 11 },
2018-
{ 22621, 11 },
2019-
{ 22631, 11 }
1999+
{ 6002, static_cast<u8>(6) }, // windows vista, technically no number but this function is just for great than operations anyway so it doesn't matter
2000+
{ 7601, static_cast<u8>(7) },
2001+
{ 9200, static_cast<u8>(8) },
2002+
{ 9600, static_cast<u8>(8) },
2003+
{ 10240, static_cast<u8>(10) },
2004+
{ 10586, static_cast<u8>(10) },
2005+
{ 14393, static_cast<u8>(10) },
2006+
{ 15063, static_cast<u8>(10) },
2007+
{ 16299, static_cast<u8>(10) },
2008+
{ 17134, static_cast<u8>(10) },
2009+
{ 17763, static_cast<u8>(10) },
2010+
{ 18362, static_cast<u8>(10) },
2011+
{ 18363, static_cast<u8>(10) },
2012+
{ 19041, static_cast<u8>(10) },
2013+
{ 19042, static_cast<u8>(10) },
2014+
{ 19043, static_cast<u8>(10) },
2015+
{ 19044, static_cast<u8>(10) },
2016+
{ 19045, static_cast<u8>(10) },
2017+
{ 22000, static_cast<u8>(11) },
2018+
{ 22621, static_cast<u8>(11) },
2019+
{ 22631, static_cast<u8>(11) }
20202020
};
20212021

20222022
HMODULE ntdll = LoadLibraryW(L"ntdll.dll");
@@ -10373,4 +10373,4 @@ const std::map<VM::enum_flags, VM::core::technique> VM::core::technique_table =
1037310373
{ VM::WSL_PROC, { 30, VM::wsl_proc_subdir, false } },
1037410374
{ VM::ANYRUN_DRIVER, { 65, VM::anyrun_driver, false } },
1037510375
{ VM::ANYRUN_DIRECTORY, { 35, VM::anyrun_directory, false } }
10376-
};
10376+
};

0 commit comments

Comments
 (0)