diff options
| author | Torbjörn Andersson | 2010-09-18 10:55:16 +0000 |
|---|---|---|
| committer | Torbjörn Andersson | 2010-09-18 10:55:16 +0000 |
| commit | c91a07229a8bd841e6b6e77d977254c388a2e407 (patch) | |
| tree | 8eb84ab7f181f42447e14f76f4bb06889a2df246 /sound | |
| parent | 6fed6a75d53259f90b69ca951275e11d6c98042a (diff) | |
| download | scummvm-rg350-c91a07229a8bd841e6b6e77d977254c388a2e407.tar.gz scummvm-rg350-c91a07229a8bd841e6b6e77d977254c388a2e407.tar.bz2 scummvm-rg350-c91a07229a8bd841e6b6e77d977254c388a2e407.zip | |
JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.
svn-id: r52791
Diffstat (limited to 'sound')
| -rw-r--r-- | sound/fmopl.cpp | 6 | ||||
| -rw-r--r-- | sound/softsynth/fmtowns_pc98/towns_euphony.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp index 16dc3986d6..ee54a79a46 100644 --- a/sound/fmopl.cpp +++ b/sound/fmopl.cpp @@ -42,7 +42,7 @@ enum OplEmulator { OPL::OPL() { if (_hasInstance) - error("There are multiple OPL output instances running."); + error("There are multiple OPL output instances running"); _hasInstance = true; } @@ -91,7 +91,7 @@ Config::DriverId Config::detect(OplType type) { } else { // Else we will output a warning and just // return that no valid driver is found. - warning("Your selected OPL driver \"%s\" does not support type %d emulation, which is requested by your game.", _drivers[drv].description, type); + warning("Your selected OPL driver \"%s\" does not support type %d emulation, which is requested by your game", _drivers[drv].description, type); return -1; } } @@ -138,7 +138,7 @@ OPL *Config::create(DriverId driver, OplType type) { if (type == kOpl2) return new MAME::OPL(); else - warning("MAME OPL emulator only supports OPL2 emulation."); + warning("MAME OPL emulator only supports OPL2 emulation"); return 0; #ifndef DISABLE_DOSBOX_OPL diff --git a/sound/softsynth/fmtowns_pc98/towns_euphony.cpp b/sound/softsynth/fmtowns_pc98/towns_euphony.cpp index 0c0c203cc9..19dbd619d2 100644 --- a/sound/softsynth/fmtowns_pc98/towns_euphony.cpp +++ b/sound/softsynth/fmtowns_pc98/towns_euphony.cpp @@ -560,10 +560,10 @@ uint8 TownsEuphonyDriver::appendEvent(uint8 evt, uint8 chan) { void TownsEuphonyDriver::sendEvent(uint8 mode, uint8 command) { if (mode == 0) { - warning("TownsEuphonyDriver: Mode 0 not implemented."); + warning("TownsEuphonyDriver: Mode 0 not implemented"); } else if (mode == 0x10) { - warning("TownsEuphonyDriver: Mode 0x10 not implemented."); + warning("TownsEuphonyDriver: Mode 0x10 not implemented"); } else if (mode == 0xff) { if (command >= 0xf0) { |
