mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-11-27 00:20:54 +00:00
Merge pull request #101 from Ordinary205/features
libSceGameLiveStreamingSetMaxBitrate + libSceUsbd symbols
This commit is contained in:
commit
051fe23706
@ -55,6 +55,12 @@ EXPORT SYSV_ABI int32_t sceGameLiveStreamingSetGuardAreas(size_t areaCount, cons
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceGameLiveStreamingSetMaxBitrate(const unsigned int maxBitrate) {
|
||||
LOG_USE_MODULE(libSceGameLiveStreaming);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceGameLiveStreamingTerminate() {
|
||||
LOG_USE_MODULE(libSceGameLiveStreaming);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
|
9
modules/libSceUsbd/CMakeLists.txt
Normal file
9
modules/libSceUsbd/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
||||
cmake_minimum_required(VERSION 3.24)
|
||||
include(../setupModule.cmake)
|
||||
|
||||
set(libName libSceUsbd)
|
||||
project(${libName})
|
||||
|
||||
add_library(${libName} SHARED entry.cpp)
|
||||
|
||||
setupModule(${libName})
|
4
modules/libSceUsbd/codes.h
Normal file
4
modules/libSceUsbd/codes.h
Normal file
@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Err {} // namespace Err
|
40
modules/libSceUsbd/entry.cpp
Normal file
40
modules/libSceUsbd/entry.cpp
Normal file
@ -0,0 +1,40 @@
|
||||
#include "codes.h"
|
||||
#include "common.h"
|
||||
#include "logging.h"
|
||||
#include "types.h"
|
||||
|
||||
LOG_DEFINE_MODULE(libSceUsbd);
|
||||
|
||||
extern "C" {
|
||||
|
||||
EXPORT const char* MODULE_NAME = "libSceUsbd";
|
||||
|
||||
EXPORT SYSV_ABI int sceUsbdInit() {
|
||||
LOG_USE_MODULE(libSceUsbd);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI uint64_t sceUsbdGetDeviceList(SceUsbdDevice*** list) {
|
||||
LOG_USE_MODULE(libSceUsbd);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI void sceUsbdFreeDeviceList(SceUsbdDevice** list, int unrefDevices) {
|
||||
LOG_USE_MODULE(libSceUsbd);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceUsbdHandleEventsTimeout(struct timeval* tv) {
|
||||
LOG_USE_MODULE(libSceUsbd);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
|
||||
EXPORT SYSV_ABI int32_t sceUsbdOpenDeviceWithVidPid(uint16_t vendorId, uint16_t productId) {
|
||||
LOG_USE_MODULE(libSceUsbd);
|
||||
LOG_ERR(L"todo %S", __FUNCTION__);
|
||||
return Ok;
|
||||
}
|
||||
}
|
4
modules/libSceUsbd/types.h
Normal file
4
modules/libSceUsbd/types.h
Normal file
@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
#include "codes.h"
|
||||
|
||||
struct SceUsbdDevice {};
|
Loading…
Reference in New Issue
Block a user