vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Index: src/sys/dev/isa/gus.c ================================================== ================= RCS file: /cvs/src/sys/dev/isa/gus.c,v retrieving revision 1.27 diff -u -r1.27 gus.c --- src/sys/dev/isa/gus.c 13 Jun 2004 21:49:24 -0000 1.27 +++ src/sys/dev/isa/gus.c 19 Oct 2005 18:21:29 -0000 @@ -499,7 +499,8 @@ dmarecords[dmarecord_index].count = sa->size; dmarecords[dmarecord_index].channel = 1; dmarecords[dmarecord_index].direction = 1; - dmarecord_index = ++dmarecord_index % NDMARECS; + dmarecord_index++; + dmarecord_index = dmarecord_index % NDMARECS; } #endif @@ -593,7 +594,8 @@ dmarecords[dmarecord_index].count = size; dmarecords[dmarecord_index].channel = 0; dmarecords[dmarecord_index].direction = 1; - dmarecord_index = ++dmarecord_index % NDMARECS; + dmarecord_index++; + dmarecord_index = dmarecord_index % NDMARECS; } #endif @@ -894,7 +896,8 @@ playstats[playcntr].dmabuf = sc->sc_dmabuf; playstats[playcntr].bufcnt = sc->sc_bufcnt; playstats[playcntr].curaddr = gus_get_curaddr(sc, GUS_VOICE_LEFT); - playcntr = ++playcntr % NDMARECS; + playcntr++; + playcntr = playcntr % NDMARECS; } #endif bus_space_write_1(iot, ioh2, GUS_VOICE_SELECT, GUS_VOICE_LEFT); @@ -1142,7 +1145,8 @@ playstats[playcntr].dmabuf = sc->sc_dmabuf; playstats[playcntr].bufcnt = sc->sc_bufcnt; playstats[playcntr].vaction = 5; - playcntr = ++playcntr % NDMARECS; + playcntr++; + playcntr = playcntr % NDMARECS; } #endif @@ -1240,7 +1244,8 @@ playstats[playcntr].playbuf = sc->sc_playbuf; playstats[playcntr].dmabuf = sc->sc_dmabuf; playstats[playcntr].bufcnt = sc->sc_bufcnt; - playcntr = ++playcntr % NDMARECS; + playcntr++; + playcntr = playcntr % NDMARECS; } #endif |
| Thread Tools | |
| Display Modes | |
|
|