Remove a lot of warnings from MusicMod.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3509 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8cf11ff58a
commit
09d5313410
|
@ -46,7 +46,7 @@
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="..\..\..\Source\Core\Common\Src"
|
AdditionalIncludeDirectories="..\..\..\Source\Core\Common\Src"
|
||||||
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_SECURE_SCL=0"
|
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_SECURE_SCL=0;_CRT_SECURE_NO_WARNINGS"
|
||||||
MinimalRebuild="false"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="0"
|
BasicRuntimeChecks="0"
|
||||||
RuntimeLibrary="0"
|
RuntimeLibrary="0"
|
||||||
|
|
|
@ -86,7 +86,7 @@ bool DspPlugin::Load()
|
||||||
{
|
{
|
||||||
// Note: The prefix is not removed to hide their
|
// Note: The prefix is not removed to hide their
|
||||||
// origin at Nullsoft! It just reads easier.
|
// origin at Nullsoft! It just reads easier.
|
||||||
if( !strnicmp( header->description, "nullsoft ", 9 ) )
|
if( !_strnicmp( header->description, "nullsoft ", 9 ) )
|
||||||
{
|
{
|
||||||
header->description += 9;
|
header->description += 9;
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,7 +97,7 @@ bool GenPlugin::Load()
|
||||||
{
|
{
|
||||||
// Note: The prefix is not removed to hide their
|
// Note: The prefix is not removed to hide their
|
||||||
// origin at Nullsoft! It just reads easier.
|
// origin at Nullsoft! It just reads easier.
|
||||||
if( !strnicmp( plugin->description, "nullsoft ", 9 ) )
|
if( !_strnicmp( plugin->description, "nullsoft ", 9 ) )
|
||||||
{
|
{
|
||||||
plugin->description += 9;
|
plugin->description += 9;
|
||||||
}
|
}
|
||||||
|
@ -106,7 +106,7 @@ bool GenPlugin::Load()
|
||||||
char * walk = plugin->description + strlen( plugin->description ) - 5;
|
char * walk = plugin->description + strlen( plugin->description ) - 5;
|
||||||
while( true )
|
while( true )
|
||||||
{
|
{
|
||||||
if( ( walk <= plugin->description ) || strnicmp( walk, ".dll)", 5 ) ) break;
|
if( ( walk <= plugin->description ) || _strnicmp( walk, ".dll)", 5 ) ) break;
|
||||||
while( ( walk > plugin->description ) && ( *walk != '(' ) ) walk--;
|
while( ( walk > plugin->description ) && ( *walk != '(' ) ) walk--;
|
||||||
if( walk <= plugin->description ) break;
|
if( walk <= plugin->description ) break;
|
||||||
walk--;
|
walk--;
|
||||||
|
|
|
@ -121,10 +121,10 @@ bool InputPlugin::Load()
|
||||||
{
|
{
|
||||||
// Note: The prefix is not removed to hide their
|
// Note: The prefix is not removed to hide their
|
||||||
// origin at Nullsoft! It just reads easier.
|
// origin at Nullsoft! It just reads easier.
|
||||||
if( !strnicmp( plugin->description, "nullsoft ", 9 ) )
|
if( !_strnicmp( plugin->description, "nullsoft ", 9 ) )
|
||||||
{
|
{
|
||||||
plugin->description += 9;
|
plugin->description += 9;
|
||||||
if( !strnicmp( plugin->description, "mpeg(layer1-3/ct aac+/dolby aac) ", 33 ) )
|
if( !_strnicmp( plugin->description, "mpeg(layer1-3/ct aac+/dolby aac) ", 33 ) )
|
||||||
{
|
{
|
||||||
plugin->description += ( 33 - 5 );
|
plugin->description += ( 33 - 5 );
|
||||||
memcpy( plugin->description, "MPEG", 4 * sizeof( char ) );
|
memcpy( plugin->description, "MPEG", 4 * sizeof( char ) );
|
||||||
|
|
|
@ -118,7 +118,7 @@ bool OutputPlugin::Load()
|
||||||
{
|
{
|
||||||
// Note: The prefix is not removed to hide their
|
// Note: The prefix is not removed to hide their
|
||||||
// origin at Nullsoft! It just reads easier.
|
// origin at Nullsoft! It just reads easier.
|
||||||
if( !strnicmp( plugin->description, "nullsoft ", 9 ) )
|
if( !_strnicmp( plugin->description, "nullsoft ", 9 ) )
|
||||||
{
|
{
|
||||||
plugin->description += 9;
|
plugin->description += 9;
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,7 +85,7 @@ bool VisPlugin::Load()
|
||||||
{
|
{
|
||||||
// Note: The prefix is not removed to hide their
|
// Note: The prefix is not removed to hide their
|
||||||
// origin at Nullsoft! It just reads easier.
|
// origin at Nullsoft! It just reads easier.
|
||||||
if( !strnicmp( header->description, "nullsoft ", 9 ) )
|
if( !_strnicmp( header->description, "nullsoft ", 9 ) )
|
||||||
{
|
{
|
||||||
header->description += 9;
|
header->description += 9;
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
/>
|
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS" />
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCManagedResourceCompilerTool"
|
Name="VCManagedResourceCompilerTool"
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -130,18 +130,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Plugin_nJoy_SDL", "Plugins\
|
||||||
{C573CAF7-EE6A-458E-8049-16C0BF34C2E9} = {C573CAF7-EE6A-458E-8049-16C0BF34C2E9}
|
{C573CAF7-EE6A-458E-8049-16C0BF34C2E9} = {C573CAF7-EE6A-458E-8049-16C0BF34C2E9}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "MusicMod", "MusicMod", "{77CF6E34-3038-4B23-A2E7-90AD17801609}"
|
|
||||||
EndProject
|
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Plugins", "Plugins", "{5C17B1EB-6C76-438A-A503-8F3C7831023B}"
|
|
||||||
EndProject
|
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Externals", "Externals", "{4F427D1B-8C90-4D9C-B23D-A51493A1C471}"
|
|
||||||
EndProject
|
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Dolphin", "Dolphin", "{61C7F431-0623-4A8D-9C4B-EDE35696554A}"
|
|
||||||
EndProject
|
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InputCommon", "Core\InputCommon\InputCommon.vcproj", "{C7E5D50A-2916-464B-86A7-E10B3CC88ADA}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InputCommon", "Core\InputCommon\InputCommon.vcproj", "{C7E5D50A-2916-464B-86A7-E10B3CC88ADA}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Common", "..\Externals\MusicMod\Common\Common.vcproj", "{DE7C596C-CBC4-4278-8909-146D63990803}"
|
|
||||||
EndProject
|
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Main", "..\Externals\MusicMod\Main\Main.vcproj", "{95CCAABC-7062-47C4-B8C1-A064DD5F16FF}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Main", "..\Externals\MusicMod\Main\Main.vcproj", "{95CCAABC-7062-47C4-B8C1-A064DD5F16FF}"
|
||||||
ProjectSection(ProjectDependencies) = postProject
|
ProjectSection(ProjectDependencies) = postProject
|
||||||
{0B72B5D6-5D72-4391-84A7-9CCA5392668A} = {0B72B5D6-5D72-4391-84A7-9CCA5392668A}
|
{0B72B5D6-5D72-4391-84A7-9CCA5392668A} = {0B72B5D6-5D72-4391-84A7-9CCA5392668A}
|
||||||
|
|
Loading…
Reference in New Issue