mirror of https://github.com/PCSX2/pcsx2.git
padnull:windows: Switch to unicode build
Fixes the PadNull crash when any window event occurs due to mixing and matching Unicode and MBCS window handles. Thanks to Volkanite for figuring out why it was broken.
This commit is contained in:
parent
a59a90c734
commit
8a26a6e34c
|
@ -92,7 +92,7 @@ bool OpenLog() {
|
|||
if (padLog != NULL)
|
||||
setvbuf(padLog, NULL, _IONBF, 0);
|
||||
else {
|
||||
SysMessage("Can't create log file %s\n", LogFile.c_str());
|
||||
fprintf(stderr, "Can't create log file %s\n", LogFile.c_str());
|
||||
result = false;
|
||||
}
|
||||
PAD_LOG("PADinit\n");
|
||||
|
|
|
@ -19,13 +19,13 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<PlatformToolset>$(DefaultPlatformToolset)_xp</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>$(DefaultPlatformToolset)_xp</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
|
|
Loading…
Reference in New Issue