shithub: cstory

Download patch

ref: 99fa3868d388b29c6871e6af8b579bf9cd51aadd
parent: 1d76e25c359dd1914e4d57e1c54f6626987fdedf
parent: 1bf110269c780f105df4d2f060b1f0f0c9e7b648
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Jun 30 17:36:48 EDT 2020

Merge branch 'accurate' into portable

--- a/src/Organya.cpp
+++ b/src/Organya.cpp
@@ -204,7 +204,7 @@
 	if (!audio_backend_initialised)
 		return;
 
-	if (old_key[track] != PANDUMMY)
+	if (old_key[track] != KEYDUMMY)
 		AudioBackend_SetSoundPan(lpORGANBUFFER[track][old_key[track] / 12][key_twin[track]], (pan_tbl[pan] - 0x100) * 10);
 }
 
@@ -213,7 +213,7 @@
 	if (!audio_backend_initialised)
 		return;
 
-	if (old_key[track] != VOLDUMMY)
+	if (old_key[track] != KEYDUMMY)
 		AudioBackend_SetSoundVolume(lpORGANBUFFER[track][old_key[track] / 12][key_twin[track]], (volume - 0xFF) * 8);
 }