some small changes and deletions

This commit is contained in:
shibbo 2020-06-27 21:04:21 -04:00
parent 3c0c9b0dc3
commit 7238093e45
5 changed files with 51 additions and 4 deletions

View File

@ -21,6 +21,21 @@ class GameSystem : public NerveExecutor
{
public:
GameSystem();
void* mFIFOBase; // _8
u32* _C; // GameSequenceDirector*
u32* _10; // GameSystemDimmingWatcher*
u32* _14; // GameSystemErrorWatcher*
u32* _18; // GameSystemFontHolder*
u32* _1C; // GameSystemFrameControl*
u32* _20; // GameSystemObjHolder*
u32* _24; // GameSystemSceneController*
u32* _28; // GameSystemStationedArchiveLoader*
u32* _2C; // HomeButtonLayout*
u32* _30; // SystemWipeHolder*
u32* _34; // HomeButtonStateNotifier*
bool mIsLoadingSystemArchive; // _38
};
#endif // GAMESYSTEM_H

View File

@ -0,0 +1,18 @@
#ifndef GAMESYSTEMERRORWATCHER_H
#define GAMESYSTEMERRORWATCHER_H
#include "Actor/Nerve/NerveExecutor.h"
class GameSystemErrorWatcher : public NerveExecutor
{
public:
GameSystemErrorWatcher();
void initAfterResourceLoaded();
void movement();
void draw();
bool isWarning() const;
void setPermissionUpdateWiiRemoteStatus(bool);
};
#endif // GAMESYSTEMERROROWATCHER_H

View File

@ -0,0 +1,10 @@
#ifndef SCENARIODATAPARSER_H
#define SCENARIODATAPARSER_H
class ScenarioData
{
public:
ScenarioData(const char *);
};
#endif // SCENARIODATAPARSER_H

View File

@ -11,8 +11,7 @@ NameObj::NameObj(const char *pName)
mFlags = temp;
_A = temp2;
NameObjRegister* pReg = SingletonHolder<NameObjRegister>::sInstance;
pReg->add(this);
SingletonHolder<NameObjRegister>::sInstance->add(this);
}
void NameObj::init(const JMapInfoIter &infoIter)

View File

@ -1,10 +1,15 @@
#include "System/Game/GameSystem.h"
#include "MR/ModelUtil.h"
#include <revolution/os.h>
void main()
{
OSInitFastCast();
DVDInit();
VIInit();
// blah blah mutex
// HeapMemoryWatcher::createRootHeap()
OSInitMutex(&MR::MutexHolder<0>::sMutex);
OSInitMutex(&MR::MutexHolder<1>::sMutex);
OSInitMutex(&MR::MutexHolder<2>::sMutex);
nw4r::lyt::LytInit();
}