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" /> <Import Project="$(VSPropsDir)QtCompile.props" />
</ImportGroup> </ImportGroup>
<PropertyGroup Label="UserMacros" /> <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> <ItemDefinitionGroup>
<ClCompile> <ClCompile>
<!-- 5054 operator '+': deprecated between enumerations of different types (types defined in Qt headers) --> <!-- 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 // message box returning, which could break cursor locking depending on the order
m_render_widget->SetWaitingForMessageBox(true); m_render_widget->SetWaitingForMessageBox(true);
auto confirm = ModalMessageBox::question( auto confirm = ModalMessageBox::question(
confirm_parent, tr("Confirm"), confirm_parent, tr("Quitter!"),
m_stop_requested ? tr("A user disconnected from the netplay lobby" m_stop_requested ? tr("A user closed down their game from the netplay lobby. "
"Netplay session has ended due to someone crashing" "This could the Netplay session has ended due to someone ragequitting! "
"before NetPlay complete." "Do you want to stop the current emulation?") :
"All players control Player 1 and have been seperated") : tr("A user closed down their game from the netplay lobby. "
tr("Do you want to stop the current emulation?"), "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); QMessageBox::Yes | QMessageBox::No, QMessageBox::NoButton, Qt::ApplicationModal);
// If a user confirmed stopping the emulation, we do not capture the cursor again, // If a user confirmed stopping the emulation, we do not capture the cursor again,