merge cuyler's PR

This commit is contained in:
Prakxo
2023-03-13 07:15:03 +00:00
parent cf13cc2139
commit 3dd5dbcf59
48 changed files with 3102 additions and 215 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef JSUIOSBASE_H
#define JSUIOSBASE_H
#include "types.h"
#include "JSystem/JSupport/JSUStreamEnum.h"
class JSUIosBase {
public:
inline JSUIosBase() : mState(GOOD) { }
virtual ~JSUIosBase() { }
bool isGood() { return !this->mState; }
void clrState(EIoState ioState) { this->mState &= ~ioState; }
void setState(EIoState ioState) { this->mState |= ioState; }
u8 mState;
};
#endif