Fix for conf.c on the Wii U

Post Reply
JoostinOnline
Posts: 18
Joined: Fri Apr 27, 2012 6:05 am
Location: The Twilight Zone
Contact:

Fix for conf.c on the Wii U

Post by JoostinOnline » Wed Aug 21, 2013 3:40 am

Because they removed the \r in setting.txt, CONF_GetVideo(), CONF_GetArea(), and CONF_GetRegion() don't work. They all rely on __CONF_GetTxt. It can be fixed with a single line though. Just add this after line 103 of conf.c:

Code: Select all

if (!end) end = strchr(line, '\n');
I hope you patch it soon. Since CONF_GetVideo returns CONF_ENOENT, the video has just been defaulting to NTSC.

WinterMute
Site Admin
Posts: 1845
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Fix for conf.c on the Wii U

Post by WinterMute » Wed Sep 04, 2013 11:52 pm

Patch applied in git repository, thanks for letting us know & supplying a fix :)
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests