mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
kill a trampoline (nw)
This commit is contained in:
parent
66de90675f
commit
7718fe042c
@ -2915,7 +2915,9 @@ void debugger_commands::execute_memdump(int ref, const std::vector<std::string>
|
||||
file = fopen(filename, "w");
|
||||
if (file)
|
||||
{
|
||||
m_machine.memory().dump(file);
|
||||
memory_interface_iterator iter(m_machine.root_device());
|
||||
for (device_memory_interface &memory : iter)
|
||||
memory.dump(file);
|
||||
fclose(file);
|
||||
}
|
||||
}
|
||||
|
@ -1694,24 +1694,6 @@ void memory_manager::initialize()
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// dump - dump the internal memory tables to the
|
||||
// given file
|
||||
//-------------------------------------------------
|
||||
|
||||
void memory_manager::dump(FILE *file)
|
||||
{
|
||||
// skip if we can't open the file
|
||||
if (file == nullptr)
|
||||
return;
|
||||
|
||||
// loop over address spaces
|
||||
memory_interface_iterator iter(machine().root_device());
|
||||
for (device_memory_interface &memory : iter)
|
||||
memory.dump(file);
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// region_alloc - allocates memory for a region
|
||||
//-------------------------------------------------
|
||||
|
@ -649,9 +649,6 @@ public:
|
||||
const std::unordered_map<std::string, std::unique_ptr<memory_region>> ®ions() const { return m_regionlist; }
|
||||
const std::unordered_map<std::string, std::unique_ptr<memory_share>> &shares() const { return m_sharelist; }
|
||||
|
||||
// dump the internal memory tables to the given file
|
||||
void dump(FILE *file);
|
||||
|
||||
// pointers to a bank pointer (internal usage only)
|
||||
u8 **bank_pointer_addr(u8 index) { return &m_bank_ptr[index]; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user