Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to free it, and anyone creating a class is probably going to use it, too.
This commit is contained in:
@@ -11,7 +11,7 @@ RegisterSoundDriver::RegisterSoundDriver( const istring &sName, CreateRageDriver
|
||||
g_pRegistrees.Add( sName, pfn );
|
||||
}
|
||||
|
||||
RageSoundDriver *MakeRageSoundDriver( const RString &drivers )
|
||||
RageSoundDriver *RageSoundDriver::Create( const RString &drivers )
|
||||
{
|
||||
vector<RString> DriversToTry;
|
||||
split( drivers, ",", DriversToTry, true );
|
||||
|
||||
Reference in New Issue
Block a user