mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 09:01:25 +00:00
63 lines
1.8 KiB
C++
63 lines
1.8 KiB
C++
#include "prx/libc/include/general/ExportMacros.hpp"
|
|
#include "prx/libSceDiscMap/include/InventoryExports.hpp"
|
|
#include "prx/libSceDiscMap/include/Api.hpp"
|
|
#include <cstdint>
|
|
#include "SceTypes.hpp"
|
|
#include "prx/libc/include/General.hpp"
|
|
|
|
namespace {
|
|
|
|
constexpr std::int32_t SCE_DISC_MAP_ERROR_NO_BITMAP_INFO = static_cast<std::int32_t>(0x81100004);
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
std::int32_t APS5_VABI sceDiscMapIsRequestOnHDD(const char* path, std::int64_t offset, std::int64_t size, std::int32_t* result) {
|
|
(void)path;
|
|
(void)offset;
|
|
(void)size;
|
|
(void)result;
|
|
return SCE_DISC_MAP_ERROR_NO_BITMAP_INFO;
|
|
}
|
|
|
|
APS5_EXPORT("ioKMruft1ek", sceDiscMapUnknown_ioKMruft1ek);
|
|
std::int32_t APS5_VABI sceDiscMapUnknown_ioKMruft1ek(const char* path, std::int64_t offset, std::int64_t size, std::uint64_t* flags, std::uint64_t* out1, std::uint64_t* out2) {
|
|
(void)path;
|
|
(void)offset;
|
|
(void)size;
|
|
(void)flags;
|
|
(void)out1;
|
|
(void)out2;
|
|
return SCE_DISC_MAP_ERROR_NO_BITMAP_INFO;
|
|
}
|
|
|
|
APS5_EXPORT("fJgP+wqifno", sceDiscMapUnknown_fJgP_plus_wqifno);
|
|
std::int32_t APS5_VABI sceDiscMapUnknown_fJgP_plus_wqifno(const char* path, std::int64_t offset, std::int64_t size, std::int64_t* location, std::int64_t* lba, std::int64_t* lbaCount) {
|
|
(void)path;
|
|
(void)offset;
|
|
(void)size;
|
|
(void)location;
|
|
(void)lba;
|
|
(void)lbaCount;
|
|
return SCE_DISC_MAP_ERROR_NO_BITMAP_INFO;
|
|
}
|
|
|
|
int APS5_VABI sceDiscMapGetPackageSize(std::int64_t fflags, std::uint64_t* ret1, std::uint64_t* ret2) {
|
|
(void)fflags;
|
|
(void)ret1;
|
|
(void)ret2;
|
|
return SCE_DISC_MAP_ERROR_NO_BITMAP_INFO;
|
|
}
|
|
|
|
}
|
|
|
|
extern "C" {
|
|
|
|
int APS5_VABI libSceDiscMapUnknown_5_plus_vOlukvkfg_nid_no_patch() {
|
|
return SCE_DISC_MAP_ERROR_NO_BITMAP_INFO;
|
|
}
|
|
APS5_EXPORT("5+vOlukvkfg", libSceDiscMapUnknown_5_plus_vOlukvkfg_nid_no_patch);
|
|
|
|
}
|