/[pcsx2_0.9.7]
ViewVC logotype

Revision 252


Jump to revision: Previous Next
Author: william
Date: Sat Sep 25 11:44:15 2010 UTC (10 years ago)
Changed paths: 4
Log Message:
wxRamViewDialog.cpp:
** pass MAX_VIEWABLE_RAM to PS2RamProvider constructor
** update provider->CurrentMemoryAddr = CURRENT_TOP_ADDR; provider->CurrentMemoryViewSize = MAX_VIEWABLE_RAM;
IRamProvider.h:
** make bool UpdateRamLocation a virtual function (so it can be overriden in PS2RamProvider.cpp)
PS2RamProvider.cpp/PS2RamProvider.h:
** make Debug_Read8 return -1 vs. 0 on memory read errors
** update constructors
** in  PS2RamProvider::RefreshRam(), call IsRamAvailable() and not!IsRamFrozen() <- this is taken into account in IsRamAvailable()
** in  PS2RamProvider::RefreshRam(), call this->InitializeProvider(); to refresh memory and make a call to this->SetRam(data,size) to store it (until the next refresh)
** fix PS2RamProvider::InitializeProvider() to set _IsRamAvailable = false; if Debug_Read8 returns a -1 and exit the method
** override bool UpdateRamLocation from IRamProvider.h -- this allows us to update the Emulator's ram and not just our own byte array

Changed paths

Path Details
Directorybranch/debug/0.X/0.9.X/0.9.7/r3795-ramdump/pcsx2/System/IRamProvider.h modified , text changed
Directorybranch/debug/0.X/0.9.X/0.9.7/r3795-ramdump/pcsx2/System/PS2RamProvider.cpp modified , text changed
Directorybranch/debug/0.X/0.9.X/0.9.7/r3795-ramdump/pcsx2/System/PS2RamProvider.h modified , text changed
Directorybranch/debug/0.X/0.9.X/0.9.7/r3795-ramdump/pcsx2/gui/Dialogs/wxRamViewDialog.cpp modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.22