Allow unloading of user modules

This commit is contained in:
Dr. Chat
2015-07-05 14:03:00 -05:00
parent 8210ada448
commit 7f53b1d630
4 changed files with 39 additions and 2 deletions

View File

@@ -68,6 +68,7 @@ class XexModule : public xe::cpu::Module {
bool Load(const std::string& name, const std::string& path,
const void* xex_addr, size_t xex_length);
bool Load(const std::string& name, const std::string& path, xe_xex2_ref xex);
bool Unload();
const std::string& name() const override { return name_; }