mirror of
https://github.com/shadps4-emu/moduleGenerator.git
synced 2026-01-31 00:55:20 +01:00
77 lines
2.6 KiB
C++
77 lines
2.6 KiB
C++
// SPDX-FileCopyrightText: Copyright 2024-2026 shadPS4 Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#include "common/logging/log.h"
|
|
#include "core/libraries/error_codes.h"
|
|
#include "core/libraries/libs.h"
|
|
#include "core/libraries/msgdialog/msgdialog.h"
|
|
|
|
namespace Libraries::MsgDialog {
|
|
|
|
s32 PS4_SYSV_ABI sceMsgDialogClose() {
|
|
LOG_ERROR(Lib_MsgDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceMsgDialogGetResult() {
|
|
LOG_ERROR(Lib_MsgDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceMsgDialogGetStatus() {
|
|
LOG_ERROR(Lib_MsgDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceMsgDialogInitialize() {
|
|
LOG_ERROR(Lib_MsgDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceMsgDialogOpen() {
|
|
LOG_ERROR(Lib_MsgDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceMsgDialogProgressBarInc() {
|
|
LOG_ERROR(Lib_MsgDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceMsgDialogProgressBarSetMsg() {
|
|
LOG_ERROR(Lib_MsgDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceMsgDialogProgressBarSetValue() {
|
|
LOG_ERROR(Lib_MsgDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceMsgDialogTerminate() {
|
|
LOG_ERROR(Lib_MsgDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceMsgDialogUpdateStatus() {
|
|
LOG_ERROR(Lib_MsgDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
void RegisterLib(Core::Loader::SymbolsResolver* sym) {
|
|
LIB_FUNCTION("HTrcDKlFKuM", "libSceMsgDialog", 1, "libSceMsgDialog", sceMsgDialogClose);
|
|
LIB_FUNCTION("Lr8ovHH9l6A", "libSceMsgDialog", 1, "libSceMsgDialog", sceMsgDialogGetResult);
|
|
LIB_FUNCTION("CWVW78Qc3fI", "libSceMsgDialog", 1, "libSceMsgDialog", sceMsgDialogGetStatus);
|
|
LIB_FUNCTION("lDqxaY1UbEo", "libSceMsgDialog", 1, "libSceMsgDialog", sceMsgDialogInitialize);
|
|
LIB_FUNCTION("b06Hh0DPEaE", "libSceMsgDialog", 1, "libSceMsgDialog", sceMsgDialogOpen);
|
|
LIB_FUNCTION("Gc5k1qcK4fs", "libSceMsgDialog", 1, "libSceMsgDialog",
|
|
sceMsgDialogProgressBarInc);
|
|
LIB_FUNCTION("6H-71OdrpXM", "libSceMsgDialog", 1, "libSceMsgDialog",
|
|
sceMsgDialogProgressBarSetMsg);
|
|
LIB_FUNCTION("wTpfglkmv34", "libSceMsgDialog", 1, "libSceMsgDialog",
|
|
sceMsgDialogProgressBarSetValue);
|
|
LIB_FUNCTION("ePw-kqZmelo", "libSceMsgDialog", 1, "libSceMsgDialog", sceMsgDialogTerminate);
|
|
LIB_FUNCTION("6fIC3XKt2k0", "libSceMsgDialog", 1, "libSceMsgDialog", sceMsgDialogUpdateStatus);
|
|
};
|
|
|
|
} // namespace Libraries::MsgDialog
|