mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-27 00:41:42 +00:00
stubbed webbrowserdialog,npparty (#2234)
* stubbed webbrowserdialog,npparty * added poly's suggestions
This commit is contained in:
parent
4f426b723f
commit
a4eba8e827
|
@ -344,6 +344,8 @@ set(SYSTEM_LIBS src/core/libraries/system/commondialog.cpp
|
|||
src/core/libraries/razor_cpu/razor_cpu.h
|
||||
src/core/libraries/mouse/mouse.cpp
|
||||
src/core/libraries/mouse/mouse.h
|
||||
src/core/libraries/web_browser_dialog/webbrowserdialog.cpp
|
||||
src/core/libraries/web_browser_dialog/webbrowserdialog.h
|
||||
)
|
||||
|
||||
set(VIDEOOUT_LIB src/core/libraries/videoout/buffer.h
|
||||
|
@ -434,6 +436,8 @@ set(NP_LIBS src/core/libraries/np_common/np_common.cpp
|
|||
src/core/libraries/np_trophy/np_trophy_error.h
|
||||
src/core/libraries/np_web_api/np_web_api.cpp
|
||||
src/core/libraries/np_web_api/np_web_api.h
|
||||
src/core/libraries/np_party/np_party.cpp
|
||||
src/core/libraries/np_party/np_party.h
|
||||
)
|
||||
|
||||
set(MISC_LIBS src/core/libraries/screenshot/screenshot.cpp
|
||||
|
|
|
@ -131,6 +131,8 @@ bool ParseFilterRule(Filter& instance, Iterator begin, Iterator end) {
|
|||
SUB(Lib, Videodec) \
|
||||
SUB(Lib, RazorCpu) \
|
||||
SUB(Lib, Mouse) \
|
||||
SUB(Lib, WebBrowserDialog) \
|
||||
SUB(Lib, NpParty) \
|
||||
CLS(Frontend) \
|
||||
CLS(Render) \
|
||||
SUB(Render, Vulkan) \
|
||||
|
|
|
@ -98,6 +98,8 @@ enum class Class : u8 {
|
|||
Lib_Videodec, ///< The LibSceVideodec implementation.
|
||||
Lib_RazorCpu, ///< The LibRazorCpu implementation.
|
||||
Lib_Mouse, ///< The LibSceMouse implementation
|
||||
Lib_WebBrowserDialog, ///< The LibSceWebBrowserDialog implementation
|
||||
Lib_NpParty, ///< The LibSceNpParty implementation
|
||||
Frontend, ///< Emulator UI
|
||||
Render, ///< Video Core
|
||||
Render_Vulkan, ///< Vulkan backend
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include "core/libraries/network/ssl2.h"
|
||||
#include "core/libraries/np_common/np_common.h"
|
||||
#include "core/libraries/np_manager/np_manager.h"
|
||||
#include "core/libraries/np_party/np_party.h"
|
||||
#include "core/libraries/np_score/np_score.h"
|
||||
#include "core/libraries/np_trophy/np_trophy.h"
|
||||
#include "core/libraries/np_web_api/np_web_api.h"
|
||||
|
@ -52,6 +53,7 @@
|
|||
#include "core/libraries/videodec/videodec.h"
|
||||
#include "core/libraries/videodec/videodec2.h"
|
||||
#include "core/libraries/videoout/video_out.h"
|
||||
#include "core/libraries/web_browser_dialog/webbrowserdialog.h"
|
||||
#include "fiber/fiber.h"
|
||||
#include "jpeg/jpegenc.h"
|
||||
|
||||
|
@ -107,6 +109,8 @@ void InitHLELibs(Core::Loader::SymbolsResolver* sym) {
|
|||
Libraries::Fiber::RegisterlibSceFiber(sym);
|
||||
Libraries::JpegEnc::RegisterlibSceJpegEnc(sym);
|
||||
Libraries::Mouse::RegisterlibSceMouse(sym);
|
||||
Libraries::WebBrowserDialog::RegisterlibSceWebBrowserDialog(sym);
|
||||
Libraries::NpParty::RegisterlibSceNpParty(sym);
|
||||
}
|
||||
|
||||
} // namespace Libraries
|
||||
|
|
195
src/core/libraries/np_party/np_party.cpp
Normal file
195
src/core/libraries/np_party/np_party.cpp
Normal file
|
@ -0,0 +1,195 @@
|
|||
// 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/np_party/np_party.h"
|
||||
|
||||
namespace Libraries::NpParty {
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyCheckCallback() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyCreate() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyCreateA() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetId() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMemberInfo() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMemberInfoA() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMembers() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMembersA() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMemberSessionInfo() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMemberVoiceInfo() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetState() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetStateAsUser() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetStateAsUserA() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetVoiceChatPriority() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyInitialize() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyJoin() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyLeave() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyRegisterHandler() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyRegisterHandlerA() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyRegisterPrivateHandler() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartySendBinaryMessage() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartySetVoiceChatPriority() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyShowInvitationList() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyShowInvitationListA() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyTerminate() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyUnregisterPrivateHandler() {
|
||||
LOG_ERROR(Lib_NpParty, "(STUBBED) called");
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
||||
void RegisterlibSceNpParty(Core::Loader::SymbolsResolver* sym) {
|
||||
LIB_FUNCTION("3e4k2mzLkmc", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyCheckCallback);
|
||||
LIB_FUNCTION("nOZRy-slBoA", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyCreate);
|
||||
LIB_FUNCTION("XQSUbbnpPBA", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyCreateA);
|
||||
LIB_FUNCTION("DRA3ay-1DFQ", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyGetId);
|
||||
LIB_FUNCTION("F1P+-wpxQow", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyGetMemberInfo);
|
||||
LIB_FUNCTION("v2RYVGrJDkM", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyGetMemberInfoA);
|
||||
LIB_FUNCTION("T2UOKf00ZN0", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyGetMembers);
|
||||
LIB_FUNCTION("TaNw7W25QJw", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyGetMembersA);
|
||||
LIB_FUNCTION("4gOMfNYzllw", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyGetMemberSessionInfo);
|
||||
LIB_FUNCTION("EKi1jx59SP4", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyGetMemberVoiceInfo);
|
||||
LIB_FUNCTION("aEzKdJzATZ0", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyGetState);
|
||||
LIB_FUNCTION("o7grRhiGHYI", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyGetStateAsUser);
|
||||
LIB_FUNCTION("EjyAI+QNgFw", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyGetStateAsUserA);
|
||||
LIB_FUNCTION("-lc6XZnQXvM", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyGetVoiceChatPriority);
|
||||
LIB_FUNCTION("lhYCTQmBkds", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyInitialize);
|
||||
LIB_FUNCTION("RXNCDw2GDEg", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyJoin);
|
||||
LIB_FUNCTION("J8jAi-tfJHc", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyLeave);
|
||||
LIB_FUNCTION("kA88gbv71ao", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyRegisterHandler);
|
||||
LIB_FUNCTION("+v4fVHMwFWc", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyRegisterHandlerA);
|
||||
LIB_FUNCTION("zo4G5WWYpKg", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyRegisterPrivateHandler);
|
||||
LIB_FUNCTION("U6VdUe-PNAY", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartySendBinaryMessage);
|
||||
LIB_FUNCTION("nazKyHygHhY", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartySetVoiceChatPriority);
|
||||
LIB_FUNCTION("-MFiL7hEnPE", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyShowInvitationList);
|
||||
LIB_FUNCTION("yARHEYLajs0", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyShowInvitationListA);
|
||||
LIB_FUNCTION("oLYkibiHqRA", "libSceNpParty", 1, "libSceNpParty", 1, 1, sceNpPartyTerminate);
|
||||
LIB_FUNCTION("zQ7gIvt11Pc", "libSceNpParty", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyUnregisterPrivateHandler);
|
||||
LIB_FUNCTION("nOZRy-slBoA", "libSceNpPartyCompat", 1, "libSceNpParty", 1, 1, sceNpPartyCreate);
|
||||
LIB_FUNCTION("F1P+-wpxQow", "libSceNpPartyCompat", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyGetMemberInfo);
|
||||
LIB_FUNCTION("T2UOKf00ZN0", "libSceNpPartyCompat", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyGetMembers);
|
||||
LIB_FUNCTION("o7grRhiGHYI", "libSceNpPartyCompat", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyGetStateAsUser);
|
||||
LIB_FUNCTION("kA88gbv71ao", "libSceNpPartyCompat", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyRegisterHandler);
|
||||
LIB_FUNCTION("-MFiL7hEnPE", "libSceNpPartyCompat", 1, "libSceNpParty", 1, 1,
|
||||
sceNpPartyShowInvitationList);
|
||||
};
|
||||
|
||||
} // namespace Libraries::NpParty
|
44
src/core/libraries/np_party/np_party.h
Normal file
44
src/core/libraries/np_party/np_party.h
Normal file
|
@ -0,0 +1,44 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/types.h"
|
||||
|
||||
namespace Core::Loader {
|
||||
class SymbolsResolver;
|
||||
}
|
||||
|
||||
namespace Libraries::NpParty {
|
||||
|
||||
s32 PS4_SYSV_ABI sceNpPartyCheckCallback();
|
||||
s32 PS4_SYSV_ABI sceNpPartyCreate();
|
||||
s32 PS4_SYSV_ABI sceNpPartyCreateA();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetId();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMemberInfo();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMemberInfoA();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMembers();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMembersA();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMemberSessionInfo();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetMemberVoiceInfo();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetState();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetStateAsUser();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetStateAsUserA();
|
||||
s32 PS4_SYSV_ABI sceNpPartyGetVoiceChatPriority();
|
||||
s32 PS4_SYSV_ABI sceNpPartyInitialize();
|
||||
s32 PS4_SYSV_ABI sceNpPartyJoin();
|
||||
s32 PS4_SYSV_ABI sceNpPartyLeave();
|
||||
s32 PS4_SYSV_ABI sceNpPartyRegisterHandler();
|
||||
s32 PS4_SYSV_ABI sceNpPartyRegisterHandlerA();
|
||||
s32 PS4_SYSV_ABI sceNpPartyRegisterPrivateHandler();
|
||||
s32 PS4_SYSV_ABI sceNpPartySendBinaryMessage();
|
||||
s32 PS4_SYSV_ABI sceNpPartySetVoiceChatPriority();
|
||||
s32 PS4_SYSV_ABI sceNpPartyShowInvitationList();
|
||||
s32 PS4_SYSV_ABI sceNpPartyShowInvitationListA();
|
||||
s32 PS4_SYSV_ABI sceNpPartyTerminate();
|
||||
s32 PS4_SYSV_ABI sceNpPartyUnregisterPrivateHandler();
|
||||
s32 PS4_SYSV_ABI module_start();
|
||||
s32 PS4_SYSV_ABI module_stop();
|
||||
|
||||
void RegisterlibSceNpParty(Core::Loader::SymbolsResolver* sym);
|
||||
} // namespace Libraries::NpParty
|
112
src/core/libraries/web_browser_dialog/webbrowserdialog.cpp
Normal file
112
src/core/libraries/web_browser_dialog/webbrowserdialog.cpp
Normal file
|
@ -0,0 +1,112 @@
|
|||
// 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/web_browser_dialog/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
|
30
src/core/libraries/web_browser_dialog/webbrowserdialog.h
Normal file
30
src/core/libraries/web_browser_dialog/webbrowserdialog.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "common/types.h"
|
||||
|
||||
namespace Core::Loader {
|
||||
class SymbolsResolver;
|
||||
}
|
||||
|
||||
namespace Libraries::WebBrowserDialog {
|
||||
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogClose();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogGetEvent();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogGetResult();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogGetStatus();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogInitialize();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogNavigate();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogOpen();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogOpenForPredeterminedContent();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogResetCookie();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogSetCookie();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogSetZoom();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogTerminate();
|
||||
s32 PS4_SYSV_ABI sceWebBrowserDialogUpdateStatus();
|
||||
s32 PS4_SYSV_ABI Func_F2BE042771625F8C();
|
||||
|
||||
void RegisterlibSceWebBrowserDialog(Core::Loader::SymbolsResolver* sym);
|
||||
} // namespace Libraries::WebBrowserDialog
|
Loading…
Reference in a new issue