mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +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
@@ -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