HLE/Applets: Give each applet its own block of heap memory, and use that when creating the framebuffer shared memory block.

This commit is contained in:
Subv 2016-05-08 17:10:53 -05:00
parent d261984f54
commit ac2de12ed8
5 changed files with 44 additions and 5 deletions

View file

@ -65,6 +65,7 @@ protected:
virtual ResultCode StartImpl(const Service::APT::AppletStartupParameter& parameter) = 0;
Service::APT::AppletId id; ///< Id of this Applet
std::shared_ptr<std::vector<u8>> heap_memory; ///< Heap memory for this Applet
};
/// Returns whether a library applet is currently running