mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
misc: add build warning to log
This commit is contained in:
parent
0854ed2b51
commit
8b35df8327
1 changed files with 4 additions and 1 deletions
|
@ -119,14 +119,17 @@ void main_window::Init()
|
|||
if (false)
|
||||
#endif
|
||||
{
|
||||
LOG_WARNING(GENERAL, "Experimental Build Warning! Build origin: " STRINGIZE(BRANCH));
|
||||
|
||||
QMessageBox msg;
|
||||
msg.setWindowTitle("Experimental Build Warning");
|
||||
msg.setWindowIcon(appIcon);
|
||||
msg.setIcon(QMessageBox::Critical);
|
||||
msg.setTextFormat(Qt::RichText);
|
||||
msg.setText("Please understand that this build is not an official RPCS3 release.<br>This build contains changes that may break games, or even <b>damage</b> your data.<br>It's recommended to download and use the official build from <a href='https://rpcs3.net/download'>RPCS3 website</a>.<br><br>Build origin: " STRINGIZE(BRANCH) "<br>Do you wish to use this build anyway?");
|
||||
msg.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
||||
msg.setDefaultButton(QMessageBox::No);
|
||||
|
||||
|
||||
if (msg.exec() == QMessageBox::No)
|
||||
{
|
||||
std::exit(EXIT_SUCCESS);
|
||||
|
|
Loading…
Add table
Reference in a new issue