summaryrefslogtreecommitdiff
path: root/include/d/d_dvd_drive_error.h
blob: 0cbd5870f201960f49ffbd3f1110a81c5f9e4852 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef D_DVD_DRIVE_ERROR_H
#define D_DVD_DRIVE_ERROR_H

#include "common.h"
#include "egg/core/eggHeap.h"

class dDvdDriveError_c {
public:
    static void create(EGG::Heap *heap);
    void draw();
    void execute();
    void init();
    bool isError() const;

    static dDvdDriveError_c *GetInstance() {
        return sInstance;
    }

    s32 getStatus() const {
        return mDvdDriveStatus;
    }

private:
    static dDvdDriveError_c *sInstance;

    /* 0x00 */ s32 mDvdDriveStatus;
    /* 0x04 */ bool mIsError;
};

#endif