mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Only attempt to allocate hot heap when hot swapping is enabled
This commit is contained in:
parent
4211c267a6
commit
d237c2aba2
6 changed files with 10 additions and 8 deletions
|
@ -82,7 +82,7 @@ static bool PathEquals(const String& pathA, String& pathB)
|
|||
|
||||
void DebugTarget::SetupTargetBinary()
|
||||
{
|
||||
bool wantsHotHeap = mDebugger->mDbgProcessId == 0;
|
||||
bool wantsHotHeap = (mDebugger->mHotSwapEnabled == true && mDebugger->mDbgProcessId == 0);
|
||||
|
||||
#ifdef BF_DBG_32
|
||||
if (wantsHotHeap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue