public static void RefreshRTP()
{
_resources.RemoveAll(r => r.Location == Location.RTP);
var graphics = Path.Combine(Constants.RTPPath, "Graphics");
var audio = Path.Combine(Constants.RTPPath, "Audio");
foreach (var filename in DirectorySearch(graphics, Constants.IMAGEFILTERS.Split('|')))
_resources.Add(new GameResource(filename, Location.RTP, ResourceType.Graphics));
foreach (var filename in DirectorySearch(audio, Constants.AUDIOFILTERS.Split('|')))
_resources.Add(new GameResource(filename, Location.RTP, ResourceType.Audio));
}