KernelState should handle module launching

This commit is contained in:
Dr. Chat
2016-10-24 11:00:22 -05:00
parent 69be82c786
commit a148b965f1
12 changed files with 85 additions and 64 deletions

View File

@@ -55,6 +55,7 @@ class UserModule : public XModule {
uint32_t guest_xex_header() const { return guest_xex_header_; }
// The title ID in the xex header or 0 if this is not a xex.
uint32_t title_id() const;
bool is_executable() const { return processor_module_->is_executable(); }
bool is_dll_module() const { return is_dll_module_; }
uint32_t entry_point() const { return entry_point_; }
@@ -85,8 +86,6 @@ class UserModule : public XModule {
xe_xex2_header_keys key,
uint32_t* out_header_guest_ptr);
object_ref<XThread> Launch(uint32_t flags = 0);
void Dump();
bool Save(ByteStream* stream) override;