Memmap: Make the MMIO mapping a unique_ptr

This commit is contained in:
Lioncash committed 2016-02-15 00:02:00 -05:00
1 parent cafc879b7c
commit b36b10fa78
4 files changed
+34 -28

No files matched your search

+2 -1
View File
@@ -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();