manifest pragma to specify windows common controls version 6
(64-bit bit version uses older control styles without this)
This commit is contained in:
parent
aa06113dac
commit
79c42a8eea
|
@ -85,7 +85,7 @@ void CloseGuiDialog(HWND hwndDlg)
|
|||
" manifestVersion=\"1.0\">\n"
|
||||
"<assemblyIdentity\n"
|
||||
" name=\"FCEUX\"\n"
|
||||
" processorArchitecture=\"x86\"\n"
|
||||
" processorArchitecture=\"*\"\n"
|
||||
" version=\"1.0.0.0\"\n"
|
||||
" type=\"win32\"/>\n"
|
||||
"<description>FCEUX</description>\n"
|
||||
|
|
|
@ -112,6 +112,15 @@ extern bool taseditorEnableAcceleratorKeys;
|
|||
#define __COMPILER__STRING__ "unknown"
|
||||
#endif
|
||||
|
||||
// 64-bit build requires manifest to use common controls 6 (style adapts to windows version)
|
||||
#pragma comment(linker, \
|
||||
"\"/manifestdependency:type='win32' "\
|
||||
"name='Microsoft.Windows.Common-Controls' "\
|
||||
"version='6.0.0.0' "\
|
||||
"processorArchitecture='*' "\
|
||||
"publicKeyToken='6595b64144ccf1df' "\
|
||||
"language='*'\"")
|
||||
|
||||
// External functions
|
||||
extern std::string cfgFile; //Contains the filename of the config file used.
|
||||
extern bool turbo; //Is game in turbo mode?
|
||||
|
|
Loading…
Reference in New Issue