mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Show a warning message on game start if Chainfire3D is installed.
This commit is contained in:
1 parent
53c6149152
commit
fce5067279
2 files changed
+6
-1
No files matched your search
@@ -390,7 +390,7 @@ DIRECTX9_GPU::DIRECTX9_GPU()
|
||||
for (int i = 0; i < 0xEF; i++) {
|
||||
if (dupeCheck.find((u8)i) == dupeCheck.end()) {
|
||||
ERROR_LOG(G3D, "Command missing from table: %02x (%i)", i, i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BuildReportingInfo();
|
||||
|
||||
@@ -117,6 +117,11 @@ void EmuScreen::bootGame(const std::string &filename) {
|
||||
}
|
||||
#endif
|
||||
memset(virtKeys, 0, sizeof(virtKeys));
|
||||
|
||||
const char *renderer = (const char*)glGetString(GL_RENDERER);
|
||||
if (strstr(renderer, "Chainfire3D") != 0) {
|
||||
osm.Show("WARNING: Chainfire3D detected, may cause problems", 10.0f, 0xFF30a0FF, -1, true);
|
||||
}
|
||||
}
|
||||
|
||||
EmuScreen::~EmuScreen() {
|
||||
|
||||
Reference in new issue
Block a user