mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 23:33:41 +01:00
Only assemble when the core is paused
This commit is contained in:
1 parent
549a9afb70
commit
4f313f3757
1 file changed
+6
@@ -290,6 +290,12 @@ void CtrlDisAsmView::assembleOpcode(u32 address, std::string defaultText)
|
||||
char op[256];
|
||||
u32 encoded;
|
||||
|
||||
if (Core_IsStepping() == false)
|
||||
{
|
||||
MessageBox(wnd,"Cannot change code while the core is running!","Error",MB_OK);
|
||||
return;
|
||||
}
|
||||
|
||||
bool result = InputBox_GetString(MainWindow::GetHInstance(),wnd,"Assemble opcode",(char*)defaultText.c_str(),op);
|
||||
if (result == false) return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user