/[pcsx2_0.9.7]/branch/debug/0.X/0.9.X/0.9.7/r3795-ramdump/pcsx2/gui/Dialogs/wxRamViewDialog.cpp
ViewVC logotype

Diff of /branch/debug/0.X/0.9.X/0.9.7/r3795-ramdump/pcsx2/gui/Dialogs/wxRamViewDialog.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 254 by william, Thu Sep 30 06:02:09 2010 UTC revision 255 by william, Thu Sep 30 07:23:18 2010 UTC
# Line 421  void Dialogs::wxRamViewDialog::BTNPATCHA Line 421  void Dialogs::wxRamViewDialog::BTNPATCHA
421          // get address to patch          // get address to patch
422          unsigned int patch_addr = (unsigned int)wxStringToHexInt(TXTPATCHADDR->GetValue());          unsigned int patch_addr = (unsigned int)wxStringToHexInt(TXTPATCHADDR->GetValue());
423          // get data to patch          // get data to patch
424          wxString patch_data = TXTPATCHDATA->GetValue();          u32 patch_data = (u32)wxStringToInt(TXTPATCHDATA->GetValue());
425      if (__RAM__PROVIDER__->UpdateRamLocation(patch_addr,patch_data))      if (__RAM__PROVIDER__->UpdateRamLocation(patch_addr,patch_data))
426      {      {
427          NeedToUpdateMemoryView = true;          NeedToUpdateMemoryView = true;

Legend:
Removed from v.254  
changed lines
  Added in v.255

  ViewVC Help
Powered by ViewVC 1.1.22