mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Merge pull request #207 from UnconventionalT/master
Gui: Replace sscanf with ToULong
This commit is contained in:
commit
dea8bed140
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ void InterpreterDisAsmFrame::Show_Val(wxCommandEvent& WXUNUSED(event))
|
|||
if(diag->ShowModal() == wxID_OK)
|
||||
{
|
||||
u64 pc = CPU ? CPU->PC : 0x0;
|
||||
sscanf(p_pc->GetValue(), "%llx", &pc);
|
||||
p_pc->GetValue().ToULong(&pc, 16);
|
||||
Emu.GetMarkedPoints().push_back(pc);
|
||||
remove_markedPC.push_back(Emu.GetMarkedPoints().size()-1);
|
||||
ShowAddr(CentrePc(pc));
|
||||
|
|
Loading…
Add table
Reference in a new issue