summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2011-02-12 21:28:20 +0000
committerSimon Howard2011-02-12 21:28:20 +0000
commitbec126b6b37210ebaeae4c636c74a8630690b7a3 (patch)
tree00f4aac29d3e83edad2394df86b78aabddd8579f
parent4a833cdb45aaf25b6419217a587816ebab5f5bfa (diff)
downloadchocolate-doom-bec126b6b37210ebaeae4c636c74a8630690b7a3.tar.gz
chocolate-doom-bec126b6b37210ebaeae4c636c74a8630690b7a3.tar.bz2
chocolate-doom-bec126b6b37210ebaeae4c636c74a8630690b7a3.zip
Oops.
Subversion-branch: /branches/strife-branch Subversion-revision: 2262
-rw-r--r--opl/dbopl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/opl/dbopl.c b/opl/dbopl.c
index 04e37c15..0c21e0b6 100644
--- a/opl/dbopl.c
+++ b/opl/dbopl.c
@@ -412,8 +412,9 @@ static void Operator__UpdateRates(Operator *self, const Chip* chip ) {
}
static inline Bit32s Operator__RateForward(Operator *self, Bit32u add ) {
+ Bit32s ret; // haleyjd: GNUisms out!
self->rateIndex += add;
- Bit32s ret = self->rateIndex >> RATE_SH;
+ ret = self->rateIndex >> RATE_SH;
self->rateIndex = self->rateIndex & RATE_MASK;
return ret;
}