mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
CheatsManager: Use game information directly from SConfig, and only recreate widgets if game changes.
This commit is contained in:
parent
414e0f4598
commit
441d304317
4 changed files with 31 additions and 29 deletions
|
@ -411,7 +411,7 @@ void MainWindow::CreateComponents()
|
|||
m_watch_widget = new WatchWidget(this);
|
||||
m_breakpoint_widget = new BreakpointWidget(this);
|
||||
m_code_widget = new CodeWidget(this);
|
||||
m_cheats_manager = new CheatsManager(m_game_list->GetGameListModel(), this);
|
||||
m_cheats_manager = new CheatsManager(this);
|
||||
|
||||
const auto request_watch = [this](QString name, u32 addr) {
|
||||
m_watch_widget->AddWatch(name, addr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue