mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Debugger enhancements:
* Added JIT breakpoints functionality * Added a menu option to disable the JIT block cache * Enabled single stepping in JIT mode as a run-time option (automatically enabled when the debugger is used) * Enabled the missing JIT Off menu options * Removed the JIT Unlimited Cache hack git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5833 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -15,28 +15,19 @@
|
||||
// Official SVN repository and contact information can be found at
|
||||
// http://code.google.com/p/dolphin-emu/
|
||||
|
||||
|
||||
|
||||
|
||||
// =======================================================
|
||||
// File description
|
||||
// -------------
|
||||
/* Purpose of this file: Collect boot settings for Core::Init()
|
||||
|
||||
Call sequence: This file has one of the first function called when a game is booted,
|
||||
the boot sequence in the code is:
|
||||
|
||||
DolphinWX: GameListCtrl.cpp OnActivated
|
||||
BootManager.cpp BootCore
|
||||
Core Core.cpp Init Thread creation
|
||||
EmuThread Calls CBoot::BootUp
|
||||
Boot.cpp CBoot::BootUp()
|
||||
CBoot::EmulatedBS2_Wii() / GC() or Load_BS2()
|
||||
*/
|
||||
// =============
|
||||
|
||||
|
||||
// Purpose of this file: Collect boot settings for Core::Init()
|
||||
|
||||
// Call sequence: This file has one of the first function called when a game is booted,
|
||||
// the boot sequence in the code is:
|
||||
|
||||
// DolphinWX: GameListCtrl.cpp OnActivated
|
||||
// BootManager.cpp BootCore
|
||||
// Core Core.cpp Init Thread creation
|
||||
// EmuThread Calls CBoot::BootUp
|
||||
// Boot.cpp CBoot::BootUp()
|
||||
// CBoot::EmulatedBS2_Wii() / GC() or Load_BS2()
|
||||
|
||||
|
||||
// Includes
|
||||
@ -83,7 +74,7 @@ bool BootCore(const std::string& _rFilename)
|
||||
{
|
||||
StartUp.bBootToPause = main_frame->g_pCodeWindow->BootToPause();
|
||||
StartUp.bAutomaticStart = main_frame->g_pCodeWindow->AutomaticStart();
|
||||
StartUp.bJITUnlimitedCache = main_frame->g_pCodeWindow->UnlimitedJITCache();
|
||||
StartUp.bJITNoBlockCache = main_frame->g_pCodeWindow->JITNoBlockCache();
|
||||
StartUp.bJITBlockLinking = main_frame->g_pCodeWindow->JITBlockLinking();
|
||||
}
|
||||
StartUp.bEnableDebugging = main_frame->g_pCodeWindow ? true : false; // RUNNING_DEBUG
|
||||
@ -105,7 +96,6 @@ bool BootCore(const std::string& _rFilename)
|
||||
// If for example the ISO file is bad we return here
|
||||
if (!StartUp.AutoSetup(SCoreStartupParameter::BOOT_DEFAULT)) return false;
|
||||
|
||||
// ====================================================
|
||||
// Load game specific settings
|
||||
IniFile game_ini;
|
||||
std::string unique_id = StartUp.GetUniqueID();
|
||||
@ -126,7 +116,6 @@ bool BootCore(const std::string& _rFilename)
|
||||
}
|
||||
|
||||
// Run the game
|
||||
// --------------
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
if(main_frame)
|
||||
{
|
||||
@ -147,7 +136,6 @@ bool BootCore(const std::string& _rFilename)
|
||||
#else
|
||||
Core::SetState(Core::CORE_RUN);
|
||||
#endif
|
||||
// =====================
|
||||
|
||||
return true;
|
||||
}
|
||||
@ -157,6 +145,4 @@ void Stop()
|
||||
Core::Stop();
|
||||
}
|
||||
|
||||
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user