mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Warning cleanup, mainly shadowed variables, const/non-const and ctor initialization order
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5098 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -181,7 +181,7 @@ void CJitWindow::Compare(u32 em_address)
|
||||
PPCAnalyst::BlockRegStats fpa;
|
||||
if (PPCAnalyst::Flatten(ppc_addr, &size, &st, &gpa, &fpa, &code_buffer))
|
||||
{
|
||||
char *sptr = (char*)xDis;
|
||||
sptr = (char*)xDis;
|
||||
for (int i = 0; i < size; i++)
|
||||
{
|
||||
const PPCAnalyst::CodeOp &op = code_buffer.codebuffer[i];
|
||||
|
@ -400,9 +400,9 @@ void CMemoryWindow::onSearch(wxCommandEvent& event) {
|
||||
if(k==size){
|
||||
//Match was found
|
||||
wxMessageBox(_T("A match was found. Placing viewer at the offset."));
|
||||
wxChar tmpstr[128]={0};
|
||||
wxSprintf(tmpstr,_T("%08x"),i);
|
||||
wxString tmpwx(tmpstr);
|
||||
wxChar tmpwxstr[128]={0};
|
||||
wxSprintf(tmpwxstr,_T("%08x"),i);
|
||||
wxString tmpwx(tmpwxstr);
|
||||
addrbox->SetValue(tmpwx);
|
||||
//memview->curAddress=i;
|
||||
//memview->Refresh();
|
||||
|
Reference in New Issue
Block a user