<context>
<name>QApplication</name>
<message>
- <location filename="../../src/Global.cpp" line="705"/>
+ <location filename="../../src/Global.cpp" line="694"/>
<source>Executable '%1' doesn't support Windows compatibility mode.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../src/Global.cpp" line="792"/>
+ <location filename="../../src/Global.cpp" line="781"/>
<source>Executable '%1' requires Qt v%2, but found Qt v%3.</source>
<translation type="unfinished"></translation>
</message>
<message>
- <location filename="../../src/Global.cpp" line="801"/>
+ <location filename="../../src/Global.cpp" line="790"/>
<source>Executable '%1' requires Windows 2000 or later.</source>
<translation type="unfinished"></translation>
</message>
<context>
<name>QApplication</name>
<message>
- <location filename="../../src/Global.cpp" line="705"/>
+ <location filename="../../src/Global.cpp" line="694"/>
<source>Executable '%1' doesn't support Windows compatibility mode.</source>
<translation type="unfinished">Plik wykonywalny '%1' nie działa w trybie kompatybilności z Windows.</translation>
</message>
<message>
- <location filename="../../src/Global.cpp" line="792"/>
+ <location filename="../../src/Global.cpp" line="781"/>
<source>Executable '%1' requires Qt v%2, but found Qt v%3.</source>
<translation type="unfinished">Plik wykonywalny '%1' wymaga Qt v%2, znaleziono jednak Qt v%3.</translation>
</message>
<message>
- <location filename="../../src/Global.cpp" line="801"/>
+ <location filename="../../src/Global.cpp" line="790"/>
<source>Executable '%1' requires Windows 2000 or later.</source>
<translation type="unfinished">Plik wykonywalny '%1' wymaga do uruchomienia Windows 2000 lub nowszego.</translation>
</message>
#define VER_LAMEXP_MINOR_LO 3
#define VER_LAMEXP_TYPE Beta
#define VER_LAMEXP_PATCH 6
-#define VER_LAMEXP_BUILD 748
+#define VER_LAMEXP_BUILD 750
///////////////////////////////////////////////////////////////////////////////
// Tools versions
/*
* Get the native operating system version
*/
-static DWORD lamexp_get_os_version(void)
+DWORD lamexp_get_os_version(void)
{
OSVERSIONINFO osVerInfo;
memset(&osVerInfo, 0, sizeof(OSVERSIONINFO));
features.count = systemInfo.dwNumberOfProcessors;
features.x64 = true;
#endif
-
- //Hack to disable x64 on the Windows 8 Developer Preview
- if(features.x64)
- {
- DWORD osVerNo = lamexp_get_os_version();
- if((HIWORD(osVerNo) == 6) && (LOWORD(osVerNo) == 2))
- {
- qWarning("Windows 8 (x64) detected. Going to disable all x64 support for now!\n");
- features.x64 = false;
- }
- }
- if(argv)
+ if((argv != NULL) && (argc > 0))
{
bool flag = false;
for(int i = 0; i < argc; i++)
unsigned int lamexp_toolver_fhgaacenc(void);
const char *lamexp_website_url(void);
const char *lamexp_support_url(void);
+DWORD lamexp_get_os_version(void);
//Public functions
void lamexp_init_console(int argc, char* argv[]);
cpuSupport = m_cpuFeatures.x64 ? CPU_TYPE_X64_GEN : CPU_TYPE_X86_GEN;
}
+ //Hack to disable x64 on the Windows 8 Developer Preview
+ if(cpuSupport & CPU_TYPE_X64_ALL)
+ {
+ DWORD osVerNo = lamexp_get_os_version();
+ if((HIWORD(osVerNo) == 6) && (LOWORD(osVerNo) == 2))
+ {
+ qWarning("Windows 8 (x64) developer preview detected. Going to disable all x64 support!\n");
+ cpuSupport = (cpuSupport == CPU_TYPE_X64_SSE) ? CPU_TYPE_X86_SSE : CPU_TYPE_X86_GEN;
+ }
+ }
+
//Print selected CPU type
switch(cpuSupport)
{