MCPcopy Create free account
hub / github.com/Inori/GPCS4 / registerOtherModules

Function registerOtherModules

GPCS4/Emulator/RegisterModules.cpp:114–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114static bool registerOtherModules(CSceModuleSystem *pModuleSystem)
115{
116 bool ret = false;
117
118 do
119 {
120 if (!pModuleSystem)
121 {
122 break;
123 }
124
125 auto& policyManager = pModuleSystem->getPolicyManager();
126
127 policyManager
128 .declareModule("libSceNpCommon").withDefault(Policy::UseNative);
129 policyManager.declareModule("libSceFios2").withDefault(Policy::UseNative);
130 policyManager.declareModule("libSceRtc").withDefault(Policy::UseBuiltin)
131 .declareSubLibrary("libSceRtc").with(Policy::UseBuiltin).except
132 ({
133 0x9A7FED7F84221739, // sceRtcTickAddMinutes
134 });
135 ret = true;
136 } while (false);
137
138 return ret;
139}
140
141
142bool Emulator::registerModules()

Callers 1

registerModulesMethod · 0.85

Calls 5

withDefaultMethod · 0.80
declareModuleMethod · 0.80
exceptMethod · 0.80
withMethod · 0.80
declareSubLibraryMethod · 0.80

Tested by

no test coverage detected