SourMesen / Mesen

Mesen is a cross-platform (Windows & Linux) NES/Famicom emulator built in C++ and C#
https://www.mesen.ca
GNU General Public License v3.0
1.26k stars 320 forks source link

Fix a bug where Language detection could fail to happen #796

Closed Dwedit closed 4 years ago

Dwedit commented 4 years ago

While checking the startup code in Program.cs, I noticed that there were a series of localized error messages, but then I checked how Language Detection worked, and saw that _language was never initialized at that point in the program, so it would always display in English no matter what.

SourMesen commented 4 years ago

Thanks for the fix!