Remove unused dump_region_map()

This commit is contained in:
Ilari Liusvaara 2014-05-24 14:19:30 +03:00
parent ee59859dd3
commit 88a526d9cd
2 changed files with 0 additions and 18 deletions

View file

@ -19,13 +19,6 @@
struct loaded_rom load_rom_from_commandline(std::vector<std::string> cmdline) throw(std::bad_alloc,
std::runtime_error);
/**
* \brief Dump listing of regions to graphics system messages.
*
* \throws std::bad_alloc Not enough memory.
*/
void dump_region_map() throw(std::bad_alloc);
/**
* \brief Fatal error.
*

View file

@ -132,17 +132,6 @@ struct loaded_rom load_rom_from_commandline(std::vector<std::string> cmdline) th
return r;
}
void dump_region_map() throw(std::bad_alloc)
{
std::list<struct memory_region*> regions = CORE().memory->get_regions();
for(auto i : regions) {
std::ostringstream x;
x << hex::to(i->base) << "-" << hex::to(i->last_address()) << " " << hex::to(i->size) << " ";
messages << x.str() << (i->readonly ? "R-" : "RW") << endian_char(i->endian)
<< (i->special ? 'I' : 'M') << " " << i->name << std::endl;
}
}
void fatal_error() throw()
{
platform::fatal_error();