shithub: cstory

Download patch

ref: 16f29f6fb7cc26a36a712bb8b57fec31ce2d1eab
parent: 1e63788c616bf1a07d1a36f7011da469301abfe6
parent: 43c0b670abfcd539e426a9bbef9220530fabe1b5
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Apr 25 20:56:40 EDT 2020

Merge branch 'accurate' into portable

--- a/src/Draw.cpp
+++ b/src/Draw.cpp
@@ -601,7 +601,7 @@
 	{
 		++surfaces_regenerated;
 		RenderBackend_RestoreSurface(framebuffer);
-		out(0x62);
+		out('f');	// 'f' for 'frontbuffer' (or, in this branch's case, 'framebuffer')
 	}
 
 	for (s = 0; s < SURFACE_ID_MAX; ++s)
@@ -612,7 +612,7 @@
 			{
 				++surfaces_regenerated;
 				RenderBackend_RestoreSurface(surf[s]);
-				out(0x30 + s);
+				out('0' + s);	// The number of the surface lost
 
 				if (!surface_metadata[s].bSystem)
 				{