VMManager: Disable symbol map update on Qt

Until it's implemented.
This commit is contained in:
Connor McLaughlin 2022-05-26 00:11:07 +10:00 committed by refractionpcsx2
parent 3b5538a09c
commit 3ce242886b
1 changed files with 4 additions and 0 deletions

View File

@ -569,9 +569,13 @@ void VMManager::UpdateRunningGame(bool resetting, bool game_starting)
Host::OnGameChanged(s_disc_path, s_game_serial, s_game_name, s_game_crc); Host::OnGameChanged(s_disc_path, s_game_serial, s_game_name, s_game_crc);
#if 0
// TODO: Enable this when the debugger is added to Qt, and it's active. Otherwise, this is just a waste of time.
// In other words, it should be lazily initialized.
MIPSAnalyst::ScanForFunctions(R5900SymbolMap, ElfTextRange.first, ElfTextRange.first + ElfTextRange.second, true); MIPSAnalyst::ScanForFunctions(R5900SymbolMap, ElfTextRange.first, ElfTextRange.first + ElfTextRange.second, true);
R5900SymbolMap.UpdateActiveSymbols(); R5900SymbolMap.UpdateActiveSymbols();
R3000SymbolMap.UpdateActiveSymbols(); R3000SymbolMap.UpdateActiveSymbols();
#endif
} }
void VMManager::ReloadPatches(bool verbose, bool show_messages_when_disabled) void VMManager::ReloadPatches(bool verbose, bool show_messages_when_disabled)