mirror of
https://github.com/libretro/Play-.git
synced 2025-02-24 21:50:58 +00:00
Don't start VM automatically when debugger is included.
This commit is contained in:
parent
b4addb46d5
commit
4032166941
@ -663,7 +663,7 @@ void CMainWindow::LoadELF(const boost::filesystem::path& executablePath)
|
||||
try
|
||||
{
|
||||
os.BootFromFile(executablePath);
|
||||
#if !defined(_DEBUG) && !defined(DEBUGGER_INCLUDED)
|
||||
#ifndef DEBUGGER_INCLUDED
|
||||
m_virtualMachine.Resume();
|
||||
#endif
|
||||
m_lastOpenCommand = std::make_shared<CLoadElfOpenCommand>(executablePath);
|
||||
@ -684,7 +684,7 @@ void CMainWindow::BootCDROM()
|
||||
try
|
||||
{
|
||||
os.BootFromCDROM();
|
||||
#ifndef _DEBUG
|
||||
#ifndef DEBUGGER_INCLUDED
|
||||
m_virtualMachine.Resume();
|
||||
#endif
|
||||
m_lastOpenCommand = std::make_shared<CBootCdRomOpenCommand>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user