mirror of
https://github.com/shadps4-emu/moduleGenerator.git
synced 2026-01-31 00:55:20 +01:00
112 lines
4.2 KiB
C++
112 lines
4.2 KiB
C++
// SPDX-FileCopyrightText: Copyright 2024 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/webbrowserdialog/webbrowserdialog.h"
|
|
|
|
namespace Libraries::WebBrowserDialog {
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogClose() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogGetEvent() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogGetResult() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogGetStatus() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogInitialize() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogNavigate() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogOpen() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogOpenForPredeterminedContent() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogResetCookie() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogSetCookie() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogSetZoom() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogTerminate() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI sceWebBrowserDialogUpdateStatus() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
s32 PS4_SYSV_ABI Func_F2BE042771625F8C() {
|
|
LOG_ERROR(Lib_WebBrowserDialog, "(STUBBED) called");
|
|
return ORBIS_OK;
|
|
}
|
|
|
|
void RegisterlibSceWebBrowserDialog(Core::Loader::SymbolsResolver* sym) {
|
|
LIB_FUNCTION("PSK+Eik919Q", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogClose);
|
|
LIB_FUNCTION("Wit4LjeoeX4", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogGetEvent);
|
|
LIB_FUNCTION("vCaW0fgVQmc", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogGetResult);
|
|
LIB_FUNCTION("CFTG6a8TjOU", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogGetStatus);
|
|
LIB_FUNCTION("jqb7HntFQFc", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogInitialize);
|
|
LIB_FUNCTION("uYELOMVnmNQ", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogNavigate);
|
|
LIB_FUNCTION("FraP7debcdg", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogOpen);
|
|
LIB_FUNCTION("O7dIZQrwVFY", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogOpenForPredeterminedContent);
|
|
LIB_FUNCTION("Cya+jvTtPqg", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogResetCookie);
|
|
LIB_FUNCTION("TZnDVkP91Rg", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogSetCookie);
|
|
LIB_FUNCTION("RLhKBOoNyXY", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogSetZoom);
|
|
LIB_FUNCTION("ocHtyBwHfys", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogTerminate);
|
|
LIB_FUNCTION("h1dR-t5ISgg", "libSceWebBrowserDialog", 1, "libSceWebBrowserDialog", 1, 1,
|
|
sceWebBrowserDialogUpdateStatus);
|
|
LIB_FUNCTION("8r4EJ3FiX4w", "libSceWebBrowserDialogLimited", 1, "libSceWebBrowserDialog", 1, 1,
|
|
Func_F2BE042771625F8C);
|
|
};
|
|
|
|
} // namespace Libraries::WebBrowserDialog
|