core: Expose AppLoader as a public interface.

This commit is contained in:
bunnei 2017-08-01 19:53:35 -04:00
parent f5cf9960d9
commit 9b8e5bea66

View file

@ -7,6 +7,7 @@
#include <memory> #include <memory>
#include <string> #include <string>
#include "common/common_types.h" #include "common/common_types.h"
#include "core/loader/loader.h"
#include "core/memory.h" #include "core/memory.h"
#include "core/perf_stats.h" #include "core/perf_stats.h"
#include "core/telemetry_session.h" #include "core/telemetry_session.h"
@ -14,10 +15,6 @@
class EmuWindow; class EmuWindow;
class ARM_Interface; class ARM_Interface;
namespace Loader {
class AppLoader;
}
namespace Core { namespace Core {
class System { class System {
@ -119,6 +116,10 @@ public:
return status_details; return status_details;
} }
Loader::AppLoader& GetAppLoader() const {
return *app_loader;
}
private: private:
/** /**
* Initialize the emulated system. * Initialize the emulated system.