summaryrefslogtreecommitdiff
path: root/plugins/adplug/adplug/dfm.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/adplug/adplug/dfm.h')
-rw-r--r--plugins/adplug/adplug/dfm.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/adplug/adplug/dfm.h b/plugins/adplug/adplug/dfm.h
index 4212b2fe..3877d9d8 100644
--- a/plugins/adplug/adplug/dfm.h
+++ b/plugins/adplug/adplug/dfm.h
@@ -30,16 +30,16 @@ public:
: CmodPlayer(newopl)
{ };
- bool load(const std::string &filename, const CFileProvider &fp);
+ bool load(const char *filename, const CFileProvider &fp);
float getrefresh();
- std::string gettype();
+ const char * gettype();
unsigned int getinstruments()
{ return 32; };
- std::string getinstrument(unsigned int n)
- { if(*instname[n]) return std::string(instname[n],1,*instname[n]); else return std::string(); };
- std::string getdesc()
- { return std::string(songinfo,1,*songinfo); };
+ const char * getinstrument(unsigned int n)
+ { return instname[n]; };
+ const char * getdesc()
+ { return songinfo; };
private:
struct {
@@ -49,4 +49,5 @@ private:
char songinfo[33];
char instname[32][12];
+ char tmpstr[20];
};