mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
fix(nid): no patch sdl exports for nid
This commit is contained in:
@@ -12,7 +12,7 @@ Execution reaches `_start`, stack unwinding and exception handling tables are bu
|
||||
Audio output and video output initialization pass
|
||||
Reaches the `main` function with render loop (deep call chain, ~64KB stack frame function) - init and shader loading from disk fully complete.
|
||||
|
||||
Now: `sceAgcDcbSetFlip not implemented`.
|
||||
Now: `AGC driver: unsupported PM4 opcode 18 at DWORD 0`.
|
||||
|
||||
## Disclaimer
|
||||
|
||||
|
||||
@@ -20,10 +20,15 @@ constexpr char kNidNoPatchCut[] = "_nid_no_patch_cut";
|
||||
constexpr std::size_t kNidNoPatchCutLen = sizeof(kNidNoPatchCut) - 1u;
|
||||
constexpr char kNidDisambigMarker[] = "_nid_disambig";
|
||||
constexpr std::size_t kNidDisambigMarkerLen = sizeof(kNidDisambigMarker) - 1u;
|
||||
constexpr char kSDLPrefix[] = "SDL_";
|
||||
constexpr std::size_t kSDLPrefixLen = sizeof(kSDLPrefix) - 1u;
|
||||
|
||||
|
||||
inline bool IsNidNoPatch(const std::string& name) {
|
||||
return name.size() >= kNidNoPatchLen &&
|
||||
name.compare(name.size() - kNidNoPatchLen, kNidNoPatchLen, kNidNoPatch) == 0;
|
||||
return (
|
||||
name.size() >= kNidNoPatchLen &&
|
||||
name.compare(name.size() - kNidNoPatchLen, kNidNoPatchLen, kNidNoPatch) == 0
|
||||
) || name.compare(0, kSDLPrefixLen, kSDLPrefix) == 0;
|
||||
}
|
||||
|
||||
inline bool IsNidNoPatchCut(const std::string& name) {
|
||||
|
||||
Reference in New Issue
Block a user