2024-04-09 20:34:05 +02:00
..
2024-04-08 12:09:23 +03:00
2024-03-01 15:09:01 +01:00
2024-03-12 05:50:09 +03:00
2024-03-01 15:09:01 +01:00
2024-04-03 23:27:25 +03:00
2024-03-12 08:25:16 +03:00
2024-04-03 15:54:50 +03:00
2024-03-01 15:09:01 +01:00
2024-03-26 11:59:26 +01:00
2024-03-20 06:07:48 +03:00
2024-03-01 15:09:01 +01:00
2024-04-03 23:27:25 +03:00
2024-03-20 06:07:48 +03:00
2024-04-08 10:30:34 +03:00
2024-04-03 23:27:25 +03:00
2024-03-01 15:09:01 +01:00
2024-04-03 23:30:08 +03:00
2024-03-01 15:09:01 +01:00
2024-04-09 11:15:25 +03:00
2024-03-20 02:46:35 +03:00
2024-03-20 06:07:48 +03:00
2024-04-08 09:52:09 +03:00
2024-03-01 15:09:01 +01:00
2024-03-20 06:07:48 +03:00
2024-04-03 23:27:25 +03:00
2024-04-08 10:30:34 +03:00
2024-04-03 23:27:25 +03:00
2024-03-01 15:09:01 +01:00
2024-04-08 09:52:09 +03:00
2024-04-09 19:58:25 +03:00
2024-04-01 15:49:42 +03:00
2024-03-01 15:09:01 +01:00
2024-03-12 05:50:09 +03:00
2024-03-01 15:09:01 +01:00
2024-03-30 18:59:50 -05:00
2024-03-20 06:07:48 +03:00
2024-03-01 15:09:01 +01:00
2024-03-01 15:09:01 +01:00
2024-03-22 08:43:41 +03:00
2024-04-08 12:09:23 +03:00
2024-03-01 15:09:01 +01:00
2024-04-03 23:27:25 +03:00
2024-04-03 14:51:23 +03:00
2024-03-01 15:09:01 +01:00
2024-03-10 14:30:22 +01:00
2024-03-06 14:40:30 +01:00

Overview

Each target library is created separately as a shared library in the modules folder. This allows NIDs generation at build time and a clean code separation.

The Emulator loads the libraries on demand and resolves the symbols etc. A library does only communicate with the emulator. If it should need information/calls from other libraries, a separate top class should be used. The library can link against it and access the interface.

Planned is a core library for such cases and for the interfaces currently in the emulator.

Create a new module

  • duplicate the template folder
  • replace the folder with the identical name of the target library.
  • inside CMakeLists.txt, replace template in "set(libName template)" with the library name
  • inside entry.cpp, replace "libSce" both in LOG_DEFINE_MODULE() and MODULE_NAME = ""

All exported function are placed inside the provided extern "C" scope and should start with "EXPORT SYSV_ABI", since those functions are called directly by the emulated application (Linux).

After a new CMake config, the new library should be picked up and built.

Build: dll2Nids may print an error. Just add a dummy function with a long name (11 + extra space).
Normally, only names starting with sce or _sce are converted. Use one of the following macro, defined in common.h, for everything else:
__NID(func) : converts the function name
__NID_HEX(hexId) : If the function name is unknown, use the hexId instead