kill a trampoline (nw)

This commit is contained in:
Vas Crabb 2017-07-13 15:51:20 +10:00
parent 66de90675f
commit 7718fe042c
3 changed files with 3 additions and 22 deletions

View File

@ -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);
}
}

View 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
//-------------------------------------------------

View File

@ -649,9 +649,6 @@ public:
const std::unordered_map<std::string, std::unique_ptr<memory_region>> &regions() 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]; }