shithub: cstory

Download patch

ref: aeb1e292b730f334e4ea288ba0245fe756054972
parent: 9bef4b1d49363a395feee19d6b2c70d733df41ac
parent: 8329ec2d166873fdc083f2579654252defd73b6f
author: Gabriel Ravier <gabravier@gmail.com>
date: Fri Sep 13 15:01:03 EDT 2019

Merge branch 'accurate' into commentBalfrog

--- a/src/Organya.cpp
+++ b/src/Organya.cpp
@@ -10,6 +10,11 @@
 #include <stdio.h>
 #include <string.h>
 
+#ifdef FIX_BUGS
+// The original source code forgot to set this (you can tell because, in the original EXE,
+// the DSBUFFERDESC structs in this file have a different size to the ones in Sound.cpp)
+#define DIRECTSOUND_VERSION 0x500
+#endif
 #include <dsound.h>
 
 #include "WindowsWrapper.h"