mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 13:05:46 -04:00
Move controller creation to System class, switch shared_ptr to unique_ptr
This commit is contained in:
@ -21,8 +21,8 @@ public:
|
||||
MemoryCard(System* system);
|
||||
~MemoryCard();
|
||||
|
||||
static std::shared_ptr<MemoryCard> Create(System* system);
|
||||
static std::shared_ptr<MemoryCard> Open(System* system, std::string_view filename);
|
||||
static std::unique_ptr<MemoryCard> Create(System* system);
|
||||
static std::unique_ptr<MemoryCard> Open(System* system, std::string_view filename);
|
||||
|
||||
void Reset();
|
||||
bool DoState(StateWrapper& sw);
|
||||
|
Reference in New Issue
Block a user