summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugcpu.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2015-04-12 22:53:48 +0200
committer Olivier Galibert <galibert@pobox.com>2015-04-14 19:58:17 +0200
commit278cf84e5503d1829e837e21dc8c238bc8cab577 (patch)
tree5d1f529f01fdfe3615879d3482bc9cf8294ec5d7 /src/emu/debug/debugcpu.h
parent75e8861950d520e83740b7b5747735f0286df145 (diff)
Replace dynamic_array with std::vector [O. Galibert]
Diffstat (limited to 'src/emu/debug/debugcpu.h')
-rw-r--r--src/emu/debug/debugcpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/debug/debugcpu.h b/src/emu/debug/debugcpu.h
index d08d333ef5f..cf92fda6f7c 100644
--- a/src/emu/debug/debugcpu.h
+++ b/src/emu/debug/debugcpu.h
@@ -236,7 +236,7 @@ public:
void registerpoint_enable_all(bool enable = true );
// hotspots
- bool hotspot_tracking_enabled() const { return (m_hotspots != NULL); }
+ bool hotspot_tracking_enabled() const { return !m_hotspots.empty(); }
void hotspot_track(int numspots, int threshhold);
// comments
@@ -370,7 +370,7 @@ private:
address_space * m_space; // space where the access occurred
UINT32 m_count; // number of hits
};
- dynamic_array<hotspot_entry> m_hotspots; // hotspot list
+ std::vector<hotspot_entry> m_hotspots; // hotspot list
int m_hotspot_threshhold; // threshhold for the number of hits to print
// pc tracking