shithub: choc

Download patch

ref: bec126b6b37210ebaeae4c636c74a8630690b7a3
parent: 4a833cdb45aaf25b6419217a587816ebab5f5bfa
author: Simon Howard <fraggle@gmail.com>
date: Sat Feb 12 16:28:20 EST 2011

Oops.

Subversion-branch: /branches/strife-branch
Subversion-revision: 2262

--- a/opl/dbopl.c
+++ b/opl/dbopl.c
@@ -412,8 +412,9 @@
 }
 
 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;
 }