2016-04-18 01:58:13 +00:00
|
|
|
#ifndef __URDE_CVISORPARAMETERS_HPP__
|
|
|
|
#define __URDE_CVISORPARAMETERS_HPP__
|
|
|
|
|
|
|
|
#include "RetroTypes.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
|
|
|
|
class CVisorParameters
|
|
|
|
{
|
2016-04-22 20:22:45 +00:00
|
|
|
public:
|
2017-11-24 08:23:28 +00:00
|
|
|
u8 x0_mask : 4;
|
2016-04-18 05:33:23 +00:00
|
|
|
bool x0_4_b1 : 1;
|
|
|
|
bool x0_5_b2 : 1;
|
2016-04-22 20:22:45 +00:00
|
|
|
bool x0_28_b3 : 1;
|
|
|
|
bool x0_29_b4 : 1;
|
2016-04-18 01:58:13 +00:00
|
|
|
CVisorParameters()
|
2016-04-18 05:33:23 +00:00
|
|
|
: x0_mask(0xf), x0_4_b1(false), x0_5_b2(false) {}
|
2017-11-24 08:23:28 +00:00
|
|
|
CVisorParameters(u8 mask, bool b1, bool b2)
|
2016-04-18 05:33:23 +00:00
|
|
|
: x0_mask(mask), x0_4_b1(b1), x0_5_b2(b2) {}
|
2017-11-24 08:23:28 +00:00
|
|
|
u8 GetMask() const { return x0_mask; }
|
2016-04-18 01:58:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CVISORPARAMETERS_HPP__
|