@@ -62,13 +62,13 @@ private:
static Driver *s_driver[3] = { NULL, NULL, NULL };
return &s_driver[type];
}
static const char *GetDriverTypeName(Driver::Type type)
{
static const char *driver_type_name[] = { "sound", "music", "video" };
static const char * const driver_type_name[] = { "sound", "music", "video" };
return driver_type_name[type];
protected:
void RegisterDriver(const char *name, Driver::Type type, int priority);