|
|
@ -20,8 +20,7 @@ void Emu::addProcessingUnit(ProcessingUnit* processing_unit) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void Emu::addMemorySpace(const char* name, int size) { |
|
|
|
void Emu::addMemorySpace(const char* name, int size) { |
|
|
|
std::vector<uint8_t> memory; |
|
|
|
std::vector<uint8_t> memory(size); |
|
|
|
memory.reserve(size); |
|
|
|
|
|
|
|
m_memory_spaces.emplace(name, memory); |
|
|
|
m_memory_spaces.emplace(name, memory); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|