bool-ifying xe::cpu

This commit is contained in:
Ben Vanik
2015-05-05 17:21:08 -07:00
parent a38b05db24
commit ade5388728
67 changed files with 270 additions and 347 deletions

View File

@@ -27,16 +27,16 @@ class XexModule : public xe::cpu::Module {
xe_xex2_ref xex() const { return xex_; }
int Load(const std::string& name, const std::string& path, xe_xex2_ref xex);
bool Load(const std::string& name, const std::string& path, xe_xex2_ref xex);
const std::string& name() const override { return name_; }
bool ContainsAddress(uint32_t address) override;
private:
int SetupImports(xe_xex2_ref xex);
int SetupLibraryImports(const xe_xex2_import_library_t* library);
int FindSaveRest();
bool SetupImports(xe_xex2_ref xex);
bool SetupLibraryImports(const xe_xex2_import_library_t* library);
bool FindSaveRest();
private:
Processor* processor_;