mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
CheatsManager: Use game information directly from SConfig, and only recreate widgets if game changes.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user