mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Debugger/Memory: Add support for address spaces
Different address spaces can be chosen in the memory view panel. * Effective (or virtual): Probably the view people mostly want. Address translation goes through MMU. * Auxiliary: ARAM address space. Does not display anything in Wii mode. * Physical: Physical address space. Only supports mem1 and mem2 (wii mode) so far.
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
#include <QTableWidget>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Core/HW/AddressSpace.h"
|
||||
|
||||
class MemoryViewWidget : public QTableWidget
|
||||
{
|
||||
@ -34,6 +35,8 @@ public:
|
||||
void ToggleBreakpoint();
|
||||
void ToggleRowBreakpoint(bool row);
|
||||
|
||||
void SetAddressSpace(AddressSpace::Type address_space);
|
||||
AddressSpace::Type GetAddressSpace() const;
|
||||
void SetType(Type type);
|
||||
void SetBPType(BPType type);
|
||||
void SetAddress(u32 address);
|
||||
@ -56,6 +59,7 @@ private:
|
||||
void OnCopyAddress();
|
||||
void OnCopyHex();
|
||||
|
||||
AddressSpace::Type m_address_space = AddressSpace::Type::Effective;
|
||||
Type m_type = Type::U8;
|
||||
BPType m_bp_type = BPType::ReadWrite;
|
||||
bool m_do_log = true;
|
||||
|
Reference in New Issue
Block a user