shithub: cstory

Download patch

ref: 9fb01161c366604d8ab9bf5097da9aa75a4ad0dd
parent: b1418f7fae9cdf8e5fb32f99af49e783bf9b0e9f
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Oct 26 19:40:32 EDT 2019

Swap two function calls around

This matches the original EXE. I didn't catch it while doing the
ASM-accuracy checks because absolute addresses don't match yet.

Thanks to Gabe for noticing this.

--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -366,8 +366,8 @@
 		Game(hWnd);
 
 		// End stuff
-		EndDirectSound();
 		EndTextObject();
+		EndDirectSound();
 		EndDirectDraw(hWnd);
 
 		ReleaseMutex(hMutex);