From 839c8add38ba710654cbe304493521584e663dd7 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 13 Apr 2005 18:36:55 +0000 Subject: Get rid of errno; add some (optional) error checking facilities to SaveFile classes (they are ugly, and to simple, but better than nothing) svn-id: r17589 --- sound/softsynth/mt32/synth.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sound/softsynth') diff --git a/sound/softsynth/mt32/synth.cpp b/sound/softsynth/mt32/synth.cpp index 289db62553..892258b7a4 100644 --- a/sound/softsynth/mt32/synth.cpp +++ b/sound/softsynth/mt32/synth.cpp @@ -22,7 +22,6 @@ #include #include #include -#include #include "mt32emu.h" @@ -395,7 +394,7 @@ bool Synth::open(SynthProperties &useProp) { if (!loadControlROM("CM32L_CONTROL.ROM")) { if (!loadControlROM("MT32_CONTROL.ROM")) { printDebug("Init Error - Missing or invalid MT32_CONTROL.ROM"); - report(ReportType_errorControlROM, &errno); + report(ReportType_errorControlROM, NULL); return false; } } @@ -410,7 +409,7 @@ bool Synth::open(SynthProperties &useProp) { if (!loadPCMROM("CM32L_PCM.ROM")) { if (!loadPCMROM("MT32_PCM.ROM")) { printDebug("Init Error - Missing MT32_PCM.ROM"); - report(ReportType_errorPCMROM, &errno); + report(ReportType_errorPCMROM, NULL); return false; } } -- cgit v1.2.3