Config won't save

Using the latest version of retroarch for Windows but it fails when saving the default config anyone can help

That’s not a lot of information for us to go on.

How are you saving the config? Just by exiting? Using the ‘save config’ option from the menu? Something else?

Do you have any core/game overrides loaded? If so, they will block saving to the main config.

Did you put your RetroArch directory in Program Files, by chance? If so, it won’t have permission to write to its own files.

im usine the mame core how do i get it to load the config for that as it only wants to load the default cconfig