Skip to content

Commit cc9857f

Browse files
committed
The RegisterLib saga continues
1 parent c2a5673 commit cc9857f

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

src/core/libraries/libc_internal/libc_internal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
namespace Libraries::LibcInternal {
1717

18-
void RegisterlibSceLibcInternal(Core::Loader::SymbolsResolver* sym) {
18+
void RegisterLib(Core::Loader::SymbolsResolver* sym) {
1919
RegisterlibSceLibcInternalMath(sym);
2020
RegisterlibSceLibcInternalStr(sym);
2121
RegisterlibSceLibcInternalMemory(sym);

src/core/libraries/libc_internal/libc_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ namespace Libraries::LibcInternal {
1414
// I won't manage definitons of 3000+ functions, and they don't need to be accessed externally,
1515
// so everything is just in the .cpp file
1616

17-
void RegisterlibSceLibcInternal(Core::Loader::SymbolsResolver* sym);
17+
void RegisterLib(Core::Loader::SymbolsResolver* sym);
1818
} // namespace Libraries::LibcInternal

src/core/libraries/ngs2/ngs2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ int PS4_SYSV_ABI sceNgs2VoiceRunCommands() {
519519
return ORBIS_OK;
520520
}
521521

522-
void RegisterlibSceNgs2(Core::Loader::SymbolsResolver* sym) {
522+
void RegisterLib(Core::Loader::SymbolsResolver* sym) {
523523
LIB_FUNCTION("3pCNbVM11UA", "libSceNgs2", 1, "libSceNgs2", 1, 1, sceNgs2CalcWaveformBlock);
524524
LIB_FUNCTION("6qN1zaEZuN0", "libSceNgs2", 1, "libSceNgs2", 1, 1,
525525
sceNgs2CustomRackGetModuleInfo);

src/core/libraries/ngs2/ngs2.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,6 @@ struct OrbisNgs2VoiceState {
269269
u32 stateFlags;
270270
};
271271

272-
void RegisterlibSceNgs2(Core::Loader::SymbolsResolver* sym);
272+
void RegisterLib(Core::Loader::SymbolsResolver* sym);
273273

274274
} // namespace Libraries::Ngs2

src/core/libraries/rtc/rtc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ int PS4_SYSV_ABI sceRtcTickAddYears(OrbisRtcTick* pTick1, OrbisRtcTick* pTick2,
11221122
return ORBIS_OK;
11231123
}
11241124

1125-
void RegisterlibSceRtc(Core::Loader::SymbolsResolver* sym) {
1125+
void RegisterLib(Core::Loader::SymbolsResolver* sym) {
11261126
LIB_FUNCTION("lPEBYdVX0XQ", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcCheckValid);
11271127
LIB_FUNCTION("fNaZ4DbzHAE", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcCompareTick);
11281128
LIB_FUNCTION("8Yr143yEnRo", "libSceRtc", 1, "libSceRtc", 1, 1, sceRtcConvertLocalTimeToUtc);

src/core/libraries/rtc/rtc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ int PS4_SYSV_ABI sceRtcTickAddTicks(OrbisRtcTick* pTick1, OrbisRtcTick* pTick2,
8888
int PS4_SYSV_ABI sceRtcTickAddWeeks(OrbisRtcTick* pTick1, OrbisRtcTick* pTick2, int32_t lAdd);
8989
int PS4_SYSV_ABI sceRtcTickAddYears(OrbisRtcTick* pTick1, OrbisRtcTick* pTick2, int32_t lAdd);
9090

91-
void RegisterlibSceRtc(Core::Loader::SymbolsResolver* sym);
91+
void RegisterLib(Core::Loader::SymbolsResolver* sym);
9292
} // namespace Libraries::Rtc

src/emulator.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,12 @@ void Emulator::Run(std::filesystem::path file, const std::vector<std::string> ar
328328

329329
void Emulator::LoadSystemModules(const std::string& game_serial) {
330330
constexpr std::array<SysModules, 10> ModulesToLoad{
331-
{{"libSceNgs2.sprx", &Libraries::Ngs2::RegisterlibSceNgs2},
331+
{{"libSceNgs2.sprx", &Libraries::Ngs2::RegisterLib},
332332
{"libSceUlt.sprx", nullptr},
333333
{"libSceJson.sprx", &Libraries::Json::RegisterLib},
334334
{"libSceJson2.sprx", nullptr},
335-
{"libSceLibcInternal.sprx", &Libraries::LibcInternal::RegisterlibSceLibcInternal},
336-
{"libSceRtc.sprx", &Libraries::Rtc::RegisterlibSceRtc},
335+
{"libSceLibcInternal.sprx", &Libraries::LibcInternal::RegisterLib},
336+
{"libSceRtc.sprx", &Libraries::Rtc::RegisterLib},
337337
{"libSceCesCs.sprx", nullptr},
338338
{"libSceFont.sprx", nullptr},
339339
{"libSceFontFt.sprx", nullptr},

0 commit comments

Comments
 (0)