Memmap: Make the MMIO mapping a unique_ptr
This commit is contained in:
1 parent
cafc879b7c
commit
b36b10fa78
4 files changed
+34
-28
No files matched your search
@@ -4,6 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "Common/CommonFuncs.h"
|
||||
@@ -63,7 +64,7 @@ enum
|
||||
};
|
||||
|
||||
// MMIO mapping object.
|
||||
extern MMIO::Mapping* mmio_mapping;
|
||||
extern std::unique_ptr<MMIO::Mapping> mmio_mapping;
|
||||
|
||||
// Init and Shutdown
|
||||
bool IsInitialized();
|
||||
|
||||
Reference in new issue
Block a user