diff options
author | Julien | 2011-06-04 23:38:06 +0800 |
---|---|---|
committer | Julien | 2011-06-23 15:11:36 +0800 |
commit | 3ece07b14b0ffcac4050692715c182d637c041a2 (patch) | |
tree | 9b7660fa78b0c6f0a1239e536954a2fe36cf3206 | |
parent | 979fc29be615fa11a095d59adf37d4077018983c (diff) | |
download | scummvm-rg350-3ece07b14b0ffcac4050692715c182d637c041a2.tar.gz scummvm-rg350-3ece07b14b0ffcac4050692715c182d637c041a2.tar.bz2 scummvm-rg350-3ece07b14b0ffcac4050692715c182d637c041a2.zip |
AUDIO: Replace assignment in return call by separate assignment and return call.
-rw-r--r-- | audio/mpu401.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/mpu401.cpp b/audio/mpu401.cpp index caad945258..966e367a93 100644 --- a/audio/mpu401.cpp +++ b/audio/mpu401.cpp @@ -33,7 +33,10 @@ void MidiChannel_MPU401::init(MidiDriver *owner, byte channel) { bool MidiChannel_MPU401::allocate() { if (_allocated) return false; - return (_allocated = true); + + _allocated = true; + + return true; } MidiDriver *MidiChannel_MPU401::device() { |