Make the volume buttons actually change volume

This commit is contained in:
Barry Harris 2012-11-23 16:24:09 +00:00
parent 5ca5c6c989
commit fc6f912aa3
1 changed files with 3 additions and 0 deletions

View File

@ -397,6 +397,9 @@ INT32 Cps2Frame()
if (Cps2Volume > 39) Cps2Volume = 39;
if (Cps2Volume < 0) Cps2Volume = 0;
QscSetRoute(BURN_SND_QSND_OUTPUT_1, Cps2Volume / 39.0, BURN_SND_ROUTE_LEFT);
QscSetRoute(BURN_SND_QSND_OUTPUT_2, Cps2Volume / 39.0, BURN_SND_ROUTE_RIGHT);
}
nDisplayEnd = nCpsCycles * (nFirstLine + 224) / nCpsNumScanlines; // Account for VBlank