mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 09:39:46 -06:00
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:
4
Externals/MusicMod/Player/Src/GenPlugin.cpp
vendored
4
Externals/MusicMod/Player/Src/GenPlugin.cpp
vendored
@ -97,7 +97,7 @@ bool GenPlugin::Load()
|
||||
{
|
||||
// Note: The prefix is not removed to hide their
|
||||
// origin at Nullsoft! It just reads easier.
|
||||
if( !strnicmp( plugin->description, "nullsoft ", 9 ) )
|
||||
if( !_strnicmp( plugin->description, "nullsoft ", 9 ) )
|
||||
{
|
||||
plugin->description += 9;
|
||||
}
|
||||
@ -106,7 +106,7 @@ bool GenPlugin::Load()
|
||||
char * walk = plugin->description + strlen( plugin->description ) - 5;
|
||||
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--;
|
||||
if( walk <= plugin->description ) break;
|
||||
walk--;
|
||||
|
Reference in New Issue
Block a user