mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Common: Add MemArena.h/cpp to the Common namespace
Brings more common code under the Common namespace.
This commit is contained in:
@ -12,11 +12,12 @@
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
namespace Common
|
||||
{
|
||||
// This class lets you create a block of anonymous RAM, and then arbitrarily map views into it.
|
||||
// Multiple views can mirror the same section of the block, which makes it very convenient for
|
||||
// emulating
|
||||
// memory mirrors.
|
||||
|
||||
class MemArena
|
||||
{
|
||||
public:
|
||||
@ -35,3 +36,5 @@ private:
|
||||
int fd;
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace Common
|
||||
|
Reference in New Issue
Block a user