Merge pull request #176 from kr1spy2115/features

sceZlibInitialize stub
This commit is contained in:
SysRay 2024-06-01 23:14:43 +02:00 committed by GitHub
commit 6b723bc7ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,8 @@
set(libName libSceZlib)
include(../setupModule.cmake)
project(${libName})
add_library(${libName} SHARED entry.cpp)
setupModule(${libName})

View File

@ -0,0 +1,4 @@
#pragma once
#include <stdint.h>
namespace Err {} // namespace Err

View File

@ -0,0 +1,18 @@
#include "common.h"
#include "logging.h"
#include "types.h"
LOG_DEFINE_MODULE(libSceZlib);
namespace {} // namespace
extern "C" {
EXPORT const char* MODULE_NAME = "libSceZlib";
EXPORT SYSV_ABI int32_t sceZlibInitialize(const void* buffer, size_t length) {
LOG_USE_MODULE(libSceZlib);
LOG_ERR(L"todo %S", __FUNCTION__);
return Ok;
}
}

View File

@ -0,0 +1,2 @@
#pragma once
#include "codes.h"