mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-11 13:08:34 -04:00
clean up and format code
This commit is contained in:
@@ -6,16 +6,24 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
class JSUIosBase {
|
||||
public:
|
||||
inline JSUIosBase() : mState(GOOD) { }
|
||||
public:
|
||||
inline JSUIosBase() : mState(GOOD) {
|
||||
}
|
||||
|
||||
virtual ~JSUIosBase() { }
|
||||
virtual ~JSUIosBase() {
|
||||
}
|
||||
|
||||
bool isGood() { return !this->mState; }
|
||||
void clrState(EIoState ioState) { this->mState &= ~ioState; }
|
||||
void setState(EIoState ioState) { this->mState |= ioState; }
|
||||
bool isGood() {
|
||||
return !this->mState;
|
||||
}
|
||||
void clrState(EIoState ioState) {
|
||||
this->mState &= ~ioState;
|
||||
}
|
||||
void setState(EIoState ioState) {
|
||||
this->mState |= ioState;
|
||||
}
|
||||
|
||||
u8 mState;
|
||||
u8 mState;
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user