shithub: cstory

Download patch

ref: 785781c13392fbffd613f4ebdd3fcd1c8d390b62
parent: c396dede92534f60cfc603b1829db1386e25547d
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Oct 14 16:05:12 EDT 2020

3DS - Deobfuscate some raw values

--- a/src/Backends/Rendering/3DS.cpp
+++ b/src/Backends/Rendering/3DS.cpp
@@ -180,7 +180,7 @@
 	image.tex = &framebuffer_surface->texture;
 	image.subtex = &subtexture;
 
-	C2D_TargetClear(screen_render_target, 0xFF000000);
+	C2D_TargetClear(screen_render_target, C2D_Color32(0, 0, 0, 0xFF));
 
 	SelectRenderTarget(screen_render_target);
 
@@ -218,7 +218,7 @@
 
 				if (surface->render_target != NULL)
 				{
-					C2D_TargetClear(surface->render_target, 0xFF000000);
+					C2D_TargetClear(surface->render_target, C2D_Color32(0, 0, 0, 0xFF));
 
 					return surface;
 				}