mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 23:05:36 -04:00
82d5e0f796
* before __register_global_object * JKRThread::sThreadList, JKRHeap::sSystemHeap, etc. * cleanup and started on JKRDvdArchive * before changing JKRCompression * more JKRDvdArchive, abs, and memset * fixed JKRArchive::setExpandSize split * JKRArchive::sCurrentDirID, JKRDvdFile::sDvdList, and matching JKRDvdFile constructors * problems * merge fixes and formatting * updated clang version in clang-format-all to version 10 * Added OSPhysicalToCached and struct for global memory * remove useless __attribute__ * changed from defines and macros to const variable and function * changed FLAG_HAS to FLAG_ON * JKRAram, linking problems * fix JKRAram * remove nonmatching stuff * renamed static data * more static class members * JKRAramStream OK * formatting Co-authored-by: Julgodis <> Co-authored-by: Pheenoh <pheenoh@gmail.com>
25 lines
432 B
C++
25 lines
432 B
C++
#ifndef __JSUIOSBASE_H__
|
|
#define __JSUIOSBASE_H__
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
enum EIoState {
|
|
IOS_STATE_1 = 1,
|
|
};
|
|
|
|
class JSUIosBase {
|
|
public:
|
|
JSUIosBase() { mState = false; }
|
|
|
|
virtual ~JSUIosBase();
|
|
|
|
bool isGood() const { return mState == 0; }
|
|
void clrState(EIoState state) { mState &= ~state; }
|
|
void setState(EIoState state) { mState |= state; }
|
|
|
|
private:
|
|
u8 mState;
|
|
};
|
|
|
|
#endif
|