Moved Windows 8 64-Bit hack to a better place. MPress will not be fixed soon for Windows 8, so we will have to keep that hack for a while...
This commit is contained in:
parent
4a9ee707b1
commit
0e6058df9e
@ -2709,17 +2709,17 @@
|
|||||||
<context>
|
<context>
|
||||||
<name>QApplication</name>
|
<name>QApplication</name>
|
||||||
<message>
|
<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>
|
<source>Executable '%1' doesn't support Windows compatibility mode.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<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>
|
<source>Executable '%1' requires Qt v%2, but found Qt v%3.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<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>
|
<source>Executable '%1' requires Windows 2000 or later.</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -2709,17 +2709,17 @@
|
|||||||
<context>
|
<context>
|
||||||
<name>QApplication</name>
|
<name>QApplication</name>
|
||||||
<message>
|
<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>
|
<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>
|
<translation type="unfinished">Plik wykonywalny '%1' nie działa w trybie kompatybilności z Windows.</translation>
|
||||||
</message>
|
</message>
|
||||||
<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>
|
<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>
|
<translation type="unfinished">Plik wykonywalny '%1' wymaga Qt v%2, znaleziono jednak Qt v%3.</translation>
|
||||||
</message>
|
</message>
|
||||||
<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>
|
<source>Executable '%1' requires Windows 2000 or later.</source>
|
||||||
<translation type="unfinished">Plik wykonywalny '%1' wymaga do uruchomienia Windows 2000 lub nowszego.</translation>
|
<translation type="unfinished">Plik wykonywalny '%1' wymaga do uruchomienia Windows 2000 lub nowszego.</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
#define VER_LAMEXP_MINOR_LO 3
|
#define VER_LAMEXP_MINOR_LO 3
|
||||||
#define VER_LAMEXP_TYPE Beta
|
#define VER_LAMEXP_TYPE Beta
|
||||||
#define VER_LAMEXP_PATCH 6
|
#define VER_LAMEXP_PATCH 6
|
||||||
#define VER_LAMEXP_BUILD 748
|
#define VER_LAMEXP_BUILD 750
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Tools versions
|
// Tools versions
|
||||||
|
@ -320,7 +320,7 @@ const QDate &lamexp_version_date(void)
|
|||||||
/*
|
/*
|
||||||
* Get the native operating system version
|
* Get the native operating system version
|
||||||
*/
|
*/
|
||||||
static DWORD lamexp_get_os_version(void)
|
DWORD lamexp_get_os_version(void)
|
||||||
{
|
{
|
||||||
OSVERSIONINFO osVerInfo;
|
OSVERSIONINFO osVerInfo;
|
||||||
memset(&osVerInfo, 0, sizeof(OSVERSIONINFO));
|
memset(&osVerInfo, 0, sizeof(OSVERSIONINFO));
|
||||||
@ -621,19 +621,8 @@ lamexp_cpu_t lamexp_detect_cpu_features(int argc, char **argv)
|
|||||||
features.count = systemInfo.dwNumberOfProcessors;
|
features.count = systemInfo.dwNumberOfProcessors;
|
||||||
features.x64 = true;
|
features.x64 = true;
|
||||||
#endif
|
#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;
|
bool flag = false;
|
||||||
for(int i = 0; i < argc; i++)
|
for(int i = 0; i < argc; i++)
|
||||||
|
@ -83,6 +83,7 @@ unsigned int lamexp_toolver_neroaac(void);
|
|||||||
unsigned int lamexp_toolver_fhgaacenc(void);
|
unsigned int lamexp_toolver_fhgaacenc(void);
|
||||||
const char *lamexp_website_url(void);
|
const char *lamexp_website_url(void);
|
||||||
const char *lamexp_support_url(void);
|
const char *lamexp_support_url(void);
|
||||||
|
DWORD lamexp_get_os_version(void);
|
||||||
|
|
||||||
//Public functions
|
//Public functions
|
||||||
void lamexp_init_console(int argc, char* argv[]);
|
void lamexp_init_console(int argc, char* argv[]);
|
||||||
|
@ -74,6 +74,17 @@ void InitializationThread::run()
|
|||||||
cpuSupport = m_cpuFeatures.x64 ? CPU_TYPE_X64_GEN : CPU_TYPE_X86_GEN;
|
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
|
//Print selected CPU type
|
||||||
switch(cpuSupport)
|
switch(cpuSupport)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user