summaryrefslogtreecommitdiff
path: root/plugins/adplug/adplug/hsc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/adplug/adplug/hsc.cpp')
-rw-r--r--plugins/adplug/adplug/hsc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/adplug/adplug/hsc.cpp b/plugins/adplug/adplug/hsc.cpp
index 1a912ff1..0fdefc3f 100644
--- a/plugins/adplug/adplug/hsc.cpp
+++ b/plugins/adplug/adplug/hsc.cpp
@@ -31,14 +31,14 @@ CPlayer *ChscPlayer::factory(Copl *newopl)
return new ChscPlayer(newopl);
}
-bool ChscPlayer::load(const std::string &filename, const CFileProvider &fp)
+bool ChscPlayer::load(const char *filename, const CFileProvider &fp)
{
binistream *f = fp.open(filename);
int i;
// file validation section
if(!f || !fp.extension(filename, ".hsc") || fp.filesize(f) > 59187) {
- AdPlug_LogWrite("ChscPlayer::load(\"%s\"): Not a HSC file!\n", filename.c_str());
+ AdPlug_LogWrite("ChscPlayer::load(\"%s\"): Not a HSC file!\n", filename);
fp.close(f);
return false;
}