2014-09-14 16:52:51 +00:00
|
|
|
// Copyright 2014 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2014-09-14 16:52:51 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2015-09-24 07:19:43 +00:00
|
|
|
#include "Common/ChunkFile.h"
|
|
|
|
#include "Common/CommonTypes.h"
|
2014-09-14 16:52:51 +00:00
|
|
|
#include "VideoCommon/BoundingBox.h"
|
|
|
|
|
|
|
|
namespace BoundingBox
|
|
|
|
{
|
|
|
|
|
|
|
|
// External vars
|
|
|
|
bool active = false;
|
|
|
|
u16 coords[4] = { 0x80, 0xA0, 0x80, 0xA0 };
|
|
|
|
|
|
|
|
// Save state
|
2016-01-17 21:54:31 +00:00
|
|
|
void DoState(PointerWrap& p)
|
2014-09-14 16:52:51 +00:00
|
|
|
{
|
|
|
|
p.Do(active);
|
|
|
|
p.Do(coords);
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace BoundingBox
|