rename binary automatically to dolphin-mpn

This commit is contained in:
Nora 2022-03-01 17:14:47 -05:00
commit 1e2c4cb39d
2 changed files with 14 additions and 7 deletions

View file

@ -17,6 +17,12 @@
<Import Project="$(VSPropsDir)QtCompile.props" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetName>Dolphin-MPN</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetName>Dolphin-MPN</TargetName>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<!-- 5054 operator '+': deprecated between enumerations of different types (types defined in Qt headers) -->

View file

@ -990,12 +990,13 @@ bool MainWindow::RequestStopNetplay()
// message box returning, which could break cursor locking depending on the order
m_render_widget->SetWaitingForMessageBox(true);
auto confirm = ModalMessageBox::question(
confirm_parent, tr("Confirm"),
m_stop_requested ? tr("A user disconnected from the netplay lobby"
"Netplay session has ended due to someone crashing"
"before NetPlay complete."
"All players control Player 1 and have been seperated") :
tr("Do you want to stop the current emulation?"),
confirm_parent, tr("Quitter!"),
m_stop_requested ? tr("A user closed down their game from the netplay lobby. "
"This could the Netplay session has ended due to someone ragequitting! "
"Do you want to stop the current emulation?") :
tr("A user closed down their game from the netplay lobby. "
"This could the Netplay session has ended due to someone ragequitting"
"Do you want to stop the current emulation?"),
QMessageBox::Yes | QMessageBox::No, QMessageBox::NoButton, Qt::ApplicationModal);
// If a user confirmed stopping the emulation, we do not capture the cursor again,