shithub: cstory

Download patch

ref: eadc04e46e1e7ae7cb8db93a79cf930cb0db413a
parent: 55b473a4901321ecd9506fbab6734b4bc3269d36
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Sep 14 16:14:57 EDT 2020

Bump StartDirectDraw fix to FIX_MAJOR_BUGS

I was debugging GLFW earlier, and this fix wasn't being enabled.
FIX_BUGS should be for aesthetic bugs that only affect gameplay, not
ones that affect fundamental stability.

--- a/src/Main.cpp
+++ b/src/Main.cpp
@@ -276,7 +276,7 @@
 
 			hMenu = GetMenu(hWnd);
 
-		#ifdef FIX_BUGS
+		#ifdef FIX_MAJOR_BUGS
 			if (conf.display_mode == 1)
 			{
 				if (!StartDirectDraw(hWnd, 0, 0))
@@ -343,7 +343,7 @@
 					break;
 			}
 
-		#ifdef FIX_BUGS
+		#ifdef FIX_MAJOR_BUGS
 			if (!StartDirectDraw(hWnd, 2, depth))
 			{
 				ReleaseMutex(hMutex);