mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-30 23:12:40 +00:00
meh
This commit is contained in:
parent
2c393d35f0
commit
98c174edc4
520 changed files with 74815 additions and 58942 deletions
|
@ -143,7 +143,7 @@ void WatchWidget::UpdateButtonsEnabled()
|
|||
if (!isVisible())
|
||||
return;
|
||||
|
||||
const bool is_enabled = Core::IsRunning();
|
||||
const bool is_enabled = Core::IsRunning(m_system);
|
||||
m_new->setEnabled(is_enabled);
|
||||
m_delete->setEnabled(is_enabled);
|
||||
m_clear->setEnabled(is_enabled);
|
||||
|
@ -158,7 +158,7 @@ void WatchWidget::Update()
|
|||
|
||||
m_updating = true;
|
||||
|
||||
if (Core::GetState() != Core::State::Paused)
|
||||
if (Core::GetState(m_system) != Core::State::Paused)
|
||||
{
|
||||
m_table->setDisabled(true);
|
||||
m_updating = false;
|
||||
|
@ -195,10 +195,10 @@ void WatchWidget::Update()
|
|||
|
||||
QBrush brush = QPalette().brush(QPalette::Text);
|
||||
|
||||
if (!Core::IsRunning() || !PowerPC::MMU::HostIsRAMAddress(guard, entry.address))
|
||||
if (!Core::IsRunning(m_system) || !PowerPC::MMU::HostIsRAMAddress(guard, entry.address))
|
||||
brush.setColor(Qt::red);
|
||||
|
||||
if (Core::IsRunning())
|
||||
if (Core::IsRunning(m_system))
|
||||
{
|
||||
if (PowerPC::MMU::HostIsRAMAddress(guard, entry.address))
|
||||
{
|
||||
|
@ -327,6 +327,7 @@ void WatchWidget::OnSave()
|
|||
void WatchWidget::ShowContextMenu()
|
||||
{
|
||||
QMenu* menu = new QMenu(this);
|
||||
menu->setAttribute(Qt::WA_DeleteOnClose, true);
|
||||
|
||||
if (!m_table->selectedItems().empty())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue