mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Show a warning message on game start if Chainfire3D is installed.
This commit is contained in:
parent
53c6149152
commit
fce5067279
2 changed files with 6 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue