Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

Found a bug in the setup wizard.

Put quotes anywhere in the emulator setup in the setup wizard.exe, the quotes disappear. If the quotes are inserted through the gameex config.exe, they will remain in the setup wizard.

Posted

Wow you found an interesting bug there. I just tried it and it's actually two quotes for them to disappear. Very strange. I'll have to look into that.

Posted
Wow you found an interesting bug there. I just tried it and it's actually two quotes for them to disappear. Very strange. I'll have to look into that.

HK, I had the same thing with advanced config which I fixed a while back. The API writeprivateprofile strips the quotes if the string is surounded in quotes. You have to check for quotes at the start and end and double them up when writing to the ini.

Posted
HK, I had the same thing with advanced config which I fixed a while back. The API writeprivateprofile strips the quotes if the string is surounded in quotes. You have to check for quotes at the start and end and double them up when writing to the ini.

Ahhh okay, easy fixed then :)

public void WriteValue(string Section, string Key, string Value)
{
if (Value.StartsWith("\"") && Value.EndsWith("\""))
Value = "\"" + Value + "\"";

WritePrivateProfileString(Section, Key, Value, this.path);
}

Done, I'll send you on the update.

Guest
This topic is now closed to further replies.
×
×
  • Create New...