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.25k stars 318 forks source link

Ampersands in ROM filenames show as underline in start screen #870

Open Myriachan opened 3 years ago

Myriachan commented 3 years ago

When you start Mesen, it shows a menu of previous ROMs and screenshots. In the Windows version, if the ROM filename has an ampersand, it will cause the next character to be displayed with an underline instead of showing an ampersand.

I assume that this is caused by putting the ROM filename into a static control. To fix this, use the SS_NOPREFIX style with the control, according to Microsoft.

image