mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
Don't use std::exit during Qt initialization
This commit is contained in:
parent
7ce835e878
commit
2865865382
12 changed files with 62 additions and 22 deletions
|
@ -13,7 +13,7 @@ headless_application::headless_application(int& argc, char** argv) : QCoreApplic
|
|||
{
|
||||
}
|
||||
|
||||
void headless_application::Init()
|
||||
bool headless_application::Init()
|
||||
{
|
||||
// Force init the emulator
|
||||
InitializeEmulator("00000001", true, false); // TODO: get user from cli args if possible
|
||||
|
@ -26,6 +26,8 @@ void headless_application::Init()
|
|||
|
||||
// As per QT recommendations to avoid conflicts for POSIX functions
|
||||
std::setlocale(LC_NUMERIC, "C");
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void headless_application::InitializeConnects()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue