Lock out reporting if harmful settings are used.

Before, if you turned it on, broke stuff, and then turned it off, we
reported the broken stuff.  This could be responsible for various
messages that have seemed strange.
This commit is contained in:
Unknown W. Brackets committed 2014-02-09 17:39:16 -08:00
1 parent ad8488ecc4
commit b46ca9f94b
5 files changed
+20 -1

No files matched your search

+2
View File
@@ -35,6 +35,7 @@
#include "Core/CoreParameter.h"
#include "Core/Core.h"
#include "Core/Host.h"
#include "Core/Reporting.h"
#include "Core/System.h"
#include "GPU/GPUState.h"
#include "GPU/GPUInterface.h"
@@ -202,6 +203,7 @@ void EmuScreen::sendMessage(const char *message, const char *value) {
gpu->ClearCacheNextFrame();
gpu->Resized();
}
Reporting::UpdateConfig();
RecreateViews();
} else if (!strcmp(message, "gpu dump next frame")) {
if (gpu) gpu->DumpNextFrame();