shithub: cstory

Download patch

ref: 0a99762fecf60df9be62bc61f6bc979cf2188be5
parent: 8d296f03850a2b981a90a6a62bb3663bd9effd4f
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Oct 11 11:59:40 EDT 2020

Force 3DS to 320x240 by default

I kind of want to avoid hacks like this, but I suppose I can find a
proper way to do this in the future.

--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -63,6 +63,10 @@
 	// Fun fact: The Linux port added this line:
 	// conf->display_mode = 1;
 
+#ifdef _3DS
+	conf->display_mode = 1;
+#endif
+
 	// Reset joystick settings (as these can't simply be set to 0)
 	conf->bJoystick = TRUE;
 	conf->joystick_button[0] = 2;