diff options
Diffstat (limited to 'plugins/adplug/adplug/diskopl.cpp')
-rw-r--r-- | plugins/adplug/adplug/diskopl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/adplug/adplug/diskopl.cpp b/plugins/adplug/adplug/diskopl.cpp index 3296c0a1..94dd1bf3 100644 --- a/plugins/adplug/adplug/diskopl.cpp +++ b/plugins/adplug/adplug/diskopl.cpp @@ -24,13 +24,13 @@ //static const unsigned short note_table[12] = {363,385,408,432,458,485,514,544,577,611,647,686}; const unsigned char CDiskopl::op_table[9] = {0x00, 0x01, 0x02, 0x08, 0x09, 0x0a, 0x10, 0x11, 0x12}; -CDiskopl::CDiskopl(std::string filename) +CDiskopl::CDiskopl(const char * filename) : old_freq(0.0f), del(1), nowrite(false) { unsigned short clock = 0xffff; currType = TYPE_OPL3; - f = fopen(filename.c_str(),"wb"); + f = fopen(filename,"wb"); fwrite("RAWADATA",8,1,f); fwrite(&clock,sizeof(clock),1,f); } |