summaryrefslogtreecommitdiff
path: root/plugins/adplug/adplug/mtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/adplug/adplug/mtk.h')
-rw-r--r--plugins/adplug/adplug/mtk.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/adplug/adplug/mtk.h b/plugins/adplug/adplug/mtk.h
index 175576a2..37328e0f 100644
--- a/plugins/adplug/adplug/mtk.h
+++ b/plugins/adplug/adplug/mtk.h
@@ -32,18 +32,18 @@ class CmtkLoader: public ChscPlayer
mtkmode = 1;
};
- bool load(const std::string &filename, const CFileProvider &fp);
+ bool load(const char *filename, const CFileProvider &fp);
- std::string gettype()
- { return std::string("MPU-401 Trakker"); };
- std::string gettitle()
- { return std::string(title); };
- std::string getauthor()
- { return std::string(composer); };
+ const char * gettype()
+ { return "MPU-401 Trakker"; };
+ const char * gettitle()
+ { return title; };
+ const char * getauthor()
+ { return composer; };
unsigned int getinstruments()
{ return 128; };
- std::string getinstrument(unsigned int n)
- { return std::string(instname[n]); };
+ const char * getinstrument(unsigned int n)
+ { return instname[n]; };
private:
char title[34],composer[34],instname[0x80][34];