do that in a better way

This commit is contained in:
zeromus 2009-11-01 23:49:14 +00:00
parent fd82450e42
commit d515741586
1 changed files with 1 additions and 3 deletions

View File

@ -300,12 +300,10 @@ static CFGSTRUCT fceuconfig[] = {
void SaveConfig(const char *filename)
{
std::string rwtemp[5];
//adelikat: Hacky fix for Ram Watch recent menu
for (int x = 0; x < 5; x++)
{
rwtemp[x] = rw_recent_files[x];
ramWatchRecent[x] = (char*)rwtemp[x].c_str();
ramWatchRecent[x] = rw_recent_files[x];
}
//-----------------------------------