Files

29 lines
457 B
C++
Raw Permalink Normal View History

2021-05-03 02:03:24 +02:00
#ifndef JSUIOSBASE_H_
#define JSUIOSBASE_H_
#include "dolphin/types.h"
enum EIoState {
IOS_STATE_1 = 1,
};
2024-04-12 00:10:30 -06:00
/**
* @ingroup jsystem-jsupport
*
*/
2021-05-03 02:03:24 +02:00
class JSUIosBase {
public:
JSUIosBase() { mState = false; }
2021-08-28 16:32:14 +02:00
virtual ~JSUIosBase() {}
2021-05-03 02:03:24 +02:00
bool isGood() const { return mState == 0; }
void clrState(EIoState state) { mState &= ~state; }
void setState(EIoState state) { mState |= state; }
private:
u8 mState;
2021-08-28 16:32:14 +02:00
}; // Size = 0x8
2021-05-03 02:03:24 +02:00
#endif