[overclock] allow choosing between postrender and vblank extra scanlines

This commit is contained in:
retro-wertz
2017-08-24 20:58:04 +08:00
parent ef5f75a8d5
commit feed492569
8 changed files with 32 additions and 7 deletions

View File

@@ -895,7 +895,7 @@ int FlushEmulateSound(void) {
int x;
int32 end, left;
if (!timestamp) return(0);
if (!sound_timestamp) return(0);
if (!FSettings.SndRate) {
left = 0;
@@ -914,7 +914,7 @@ int FlushEmulateSound(void) {
if (GameExpSound.HiFill) GameExpSound.HiFill();
for (x = timestamp; x; x--) {
for (x = sound_timestamp; x; x--) {
uint32 b = *tmpo;
*tmpo = (b & 65535) + wlookup2[(b >> 16) & 255] + wlookup1[b >> 24];
tmpo++;