mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Add Emu.HasGui() to properly hide Qt dialogs in no-gui mode
This commit is contained in:
parent
84f9911163
commit
46ca39ec4d
10 changed files with 26 additions and 10 deletions
|
@ -14,7 +14,7 @@ headless_application::headless_application(int& argc, char** argv) : QCoreApplic
|
|||
void headless_application::Init()
|
||||
{
|
||||
// Force init the emulator
|
||||
InitializeEmulator("1", true); // TODO: get user from cli args if possible
|
||||
InitializeEmulator("1", true, false); // TODO: get user from cli args if possible
|
||||
|
||||
// Create callbacks from the emulator, which reference the handlers.
|
||||
InitializeCallbacks();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue