Warn if trying to run some games that are known to require buffered rendering with it not enabled.
This commit is contained in:
parent
45a99bbe33
commit
e37decc9a8
4 changed files with 35 additions and 0 deletions
|
@ -208,6 +208,7 @@ void EmuScreen::bootGame(const std::string &filename) {
|
|||
coreParam.pixelWidth = pixel_xres;
|
||||
coreParam.pixelHeight = pixel_yres;
|
||||
|
||||
|
||||
std::string error_string;
|
||||
if (!PSP_InitStart(coreParam, &error_string)) {
|
||||
bootPending_ = false;
|
||||
|
@ -216,6 +217,11 @@ void EmuScreen::bootGame(const std::string &filename) {
|
|||
ERROR_LOG(BOOT, "%s", errorMessage_.c_str());
|
||||
System_SendMessage("event", "failstartgame");
|
||||
}
|
||||
|
||||
if (PSP_CoreParameter().compat.flags().RequireBufferedRendering && g_Config.iRenderingMode == FB_NON_BUFFERED_MODE) {
|
||||
I18NCategory *gr = GetI18NCategory("Graphics");
|
||||
host->NotifyUserMessage(gr->T("BufferedRenderingRequired", "Warning: This game requires Rendering Mode to be set to Buffered."), 15.0f);
|
||||
}
|
||||
}
|
||||
|
||||
void EmuScreen::bootComplete() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue