File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44class CDvdRequestSys {
55public:
6+ CDvdRequestSys () {
7+ if (mManagerInstalled != true ) {
8+ mManagerInstalled = true ;
9+ }
10+ }
11+ ~CDvdRequestSys () {
12+ if (mManagerInstalled == true ) {
13+ mManagerInstalled = false ;
14+ }
15+ }
16+
17+ private:
618 static bool mManagerInstalled ;
719};
820
9-
1021#endif // _CDVDREQUESTMANAGER
Original file line number Diff line number Diff line change 88#include " Kyoto/Alloc/CMemorySys.hpp"
99#include " Kyoto/Basics/COsContext.hpp"
1010#include " Kyoto/Basics/CStopwatch.hpp"
11+ #include " Kyoto/CDvdRequestManager.hpp"
1112#include " Kyoto/Streams/CInputStream.hpp"
1213#include " Kyoto/TReservedAverage.hpp"
1314#include " MetroidPrime/CGameArchitectureSupport.hpp"
@@ -29,24 +30,6 @@ class CSaveRegion {
2930 static void * mNonVolatileSettingsBuf ;
3031};
3132
32- // TODO move to new header
33- class CDvdRequestSys {
34- public:
35- CDvdRequestSys () {
36- if (mManagerInstalled != true ) {
37- mManagerInstalled = true ;
38- }
39- }
40- ~CDvdRequestSys () {
41- if (mManagerInstalled == true ) {
42- mManagerInstalled = false ;
43- }
44- }
45-
46- private:
47- static bool mManagerInstalled ;
48- };
49-
5033class CMain {
5134public:
5235 enum ERestartMode {
You can’t perform that action at this time.
0 commit comments