mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Core::IsRunning: Avoid Global System Accessor
This commit is contained in:
@@ -629,7 +629,7 @@ QByteArray MemoryWidget::GetInputData() const
|
||||
|
||||
void MemoryWidget::OnSetValue()
|
||||
{
|
||||
if (!Core::IsRunning())
|
||||
if (!Core::IsRunning(m_system))
|
||||
return;
|
||||
|
||||
auto target_addr = GetTargetAddress();
|
||||
@@ -675,7 +675,7 @@ void MemoryWidget::OnSetValue()
|
||||
|
||||
void MemoryWidget::OnSetValueFromFile()
|
||||
{
|
||||
if (!Core::IsRunning())
|
||||
if (!Core::IsRunning(m_system))
|
||||
return;
|
||||
|
||||
auto target_addr = GetTargetAddress();
|
||||
|
||||
Reference in New Issue
Block a user