mirror of
https://github.com/SysRay/psOff_public.git
synced 2024-12-03 11:50:57 +00:00
Merge pull request #176 from kr1spy2115/features
sceZlibInitialize stub
This commit is contained in:
commit
6b723bc7ef
8
modules/libSceZlib/CMakeLists.txt
Normal file
8
modules/libSceZlib/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(libName libSceZlib)
|
||||
include(../setupModule.cmake)
|
||||
|
||||
project(${libName})
|
||||
|
||||
add_library(${libName} SHARED entry.cpp)
|
||||
|
||||
setupModule(${libName})
|
4
modules/libSceZlib/codes.h
Normal file
4
modules/libSceZlib/codes.h
Normal file
@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
|
||||
namespace Err {} // namespace Err
|
18
modules/libSceZlib/entry.cpp
Normal file
18
modules/libSceZlib/entry.cpp
Normal 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;
|
||||
}
|
||||
}
|
2
modules/libSceZlib/types.h
Normal file
2
modules/libSceZlib/types.h
Normal file
@ -0,0 +1,2 @@
|
||||
#pragma once
|
||||
#include "codes.h"
|
Loading…
Reference in New Issue
Block a user