Skip to content

fix: complete compatibility gaps - #6447

Closed
mashingaan wants to merge 72 commits into
boykopovar:mainfrom
mashingaan:fix/guest-memory-commit-cache
Closed

mashingaan wants to merge 72 commits into
boykopovar:mainfrom
mashingaan:fix/guest-memory-commit-cache

Conversation

@mashingaan

@mashingaan mashingaan commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

What

  • Invalidate the Windows guest page-state cache when GuestArenaCommit turns reserved pages into committed pages.
  • Implement the C++ runtime current-thread ID export through the existing scePthreadGetthreadid implementation.
  • Implement the Windows-1250 profile and conversion mapping for libSceCesCs, including reverse conversion and profile selection.
  • Return the documented invalid-argument error instead of throwing when libSceGameUpdate receives a null entitlement label.
  • Make the mouse absolute-position reset a safe no-op because the host backend exposes relative motion only and has no absolute position state.
  • Accept both valid cookie mode values as no-ops in the offline HTTP backend instead of throwing for enable mode.
  • Make offline NP Web API trace and push-handle control calls non-throwing no-ops.
  • Return the correct empty-event and invalid-handle errors from SystemGesture lookup functions when no touch input exists.
  • Make synchronous SaveData cancel and transfer-preparation calls return success instead of throwing.
  • Make VideoOut flip-master calls successful no-ops because the host has one display and no arbitration layer.
  • Retain NGS2 report handler registrations and validate opaque handles without invoking callbacks until a report producer exists.
  • Make Net diagnostic exports return success without throwing when no console diagnostic output is available.
  • Complete offline WebBrowserDialog cookie controls and predetermined-content opening with consistent initialized and finished states.
  • Implement the common non-ambisonic NGS2 geometry path with distance rolloff, cone attenuation, Doppler pitch, radius spreading, speaker matrix output and A3D position and volume.
  • Make libSceFontFt alias lifecycle, format-support queries and glyph-selection compatibility exports return success instead of throwing on their no-argument stubs.
  • Avoid null-pointer range arithmetic when clearing a zero-sized VideoRecordingP info value.
  • Return NOT_FOUND for additional-content download progress because the offline runtime never queues a download.
  • Accept offline game-presence callback registration without throwing because no NP presence events are produced.
  • Make tournament-occurrence system activity a successful no-op because AnyPS5 has no system UI.
  • Report no embedded pad microphone for valid AudioIn handles instead of throwing from the capability query.
  • Reuse the regular AudioIn backend for HqOpen and return INVALID_PARAM for unsupported format 0x10 instead of raising a stub exception.
  • Complete the offline GameLiveStreaming program-info query as a successful no-op when no stream exists.
  • Return inactive voice-chat usage state after the proprietary voice-chat helper is initialized instead of throwing.
  • Implement AudioIn AsyncOpen sizes from 1 through 384 through the existing capture backend instead of returning a stub success.
  • Make disabled ThreadSanitizer acquire and release hooks fast no-ops instead of throwing from LLVM-compatible hooks.
  • Implement Json2 Value boolean conversion so null is false and every other constructed value is true.
  • Make Json2 optional handler setter exports return success without throwing. The handlers remain inactive because the current runtime has no corresponding callback paths.
  • Make AudioOut2 system debug-state requests successful no-ops because the host audio backend has no matching console debug controls.
  • Accept offline NP content-restriction setup as a successful no-op because the signed-out runtime has no enforcement path.
  • Make Voice input writes consume zero bytes with proper port and pointer validation, and accept chat toggles when no host voice-chat mixer exists.

Tested

  • git diff --check passed on the clean upstream branch.
  • tools/check_conventions.py passed against upstream main.
  • Static progress reports 3332/3689 libraries at 90.32% and 1166/1166 shaders at 100%.
  • NGS2 geometry arithmetic follows the public positional-audio model in PS5PCEM. Exact console arithmetic and error codes remain unverified.
  • The FontFt compatibility behavior follows the corresponding successful no-op exports in shadPS4. Alias storage and detailed capability reporting remain unavailable.
  • No local build was run because C: had about 12.13 GB free.
  • Focused expectations were updated with the GameUpdate and HTTP contract changes. The full suite was not rerun locally.

Checklist

  • Based on current main. No other open PR implements the same functions
  • Compatibility fixes are generic and not specific to one title
  • No comments in code except technical debt
  • Unimplemented paths throw or are covered by the existing implementation
  • No notes or generated files added to the repository
  • AI-assisted: yes
  • Depends on: none

@mashingaan mashingaan changed the title fix(memory): invalidate guest cache after commit fix: complete compatibility gaps Oct 15, 2026
@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 1060 sceAgcAcquireMemSetEngine
PR 6400 docs/dev/debt/libSceFontFt.md
PR 6680 sceNgs2GeomApply
PR 7477 _ZN3sce4Json6Object6insertERKNS1_4PairE
_ZNK3sce4Json5ValuecvbEv

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 1060 core/libs/prx/libSceAgc/Unimplemented.cpp
core/libs/prx/libSceAgc/tests/Commands.cpp
docs/dev/debt/libSceAgc.md
PR 1191 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 1324 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libc/include/GuestAllocations.hpp
PR 1384 core/libs/prx/libSceNgs2.native/src/Ngs2Internal.hpp
core/libs/prx/libSceNgs2.native/src/Voice.cpp
PR 1835 core/libs/prx/libc/src/GuestArena.cpp
PR 2434 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 2528 core/libs/prx/libkernel/SyncOnAddress/src/SyncOnAddress.cpp
PR 4448 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 4449 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libc/src/GuestArena.cpp
PR 5021 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libc/include/GuestAllocations.hpp
core/libs/prx/libc/src/GuestArena.cpp
core/libs/prx/libc/src/RuntimeSupport.cpp
core/libs/prx/libkernel/Equeue/src/FileEvent.cpp
core/libs/prx/libkernel/File/src/SharedMemory.cpp
core/libs/prx/libkernel/System/src/Process.cpp
core/libs/prx/libkernel_sys/Export.cpp
docs/dev/debt/libSceAudioOut.md
docs/dev/debt/libSceLibcInternal.md
PR 5372 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 5528 core/libs/prx/libkernel_sys/Export.cpp
PR 5797 core/libs/prx/libSceNgs2.native/src/Ngs2Internal.hpp
core/libs/prx/libSceNgs2.native/src/Voice.cpp
PR 5965 docs/dev/debt/libSceAudioOut.md
PR 6044 core/libs/tests/GuestAudioIn.cpp
core/libs/tests/GuestOfflineImports.cpp
PR 6090 core/libs/prx/libSceVoice/Export.cpp
PR 6126 core/libs/prx/libSceJson2/Export.cpp
PR 6146 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6177 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6182 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6185 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6186 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6197 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6200 core/libs/prx/libkernel_sys/Export.cpp
PR 6292 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6293 core/libs/prx/libSceVideoRecordingP/Export.cpp
PR 6313 core/libs/prx/libSceSaveData.native/Export.cpp
docs/dev/debt/libSceSaveData.native.md
PR 6357 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
PR 6400 core/libs/prx/libSceFontFt/Export.cpp
docs/dev/debt/libSceFontFt.md
PR 6411 core/libs/prx/libkernel_sys/Export.cpp
PR 6457 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6461 core/libs/prx/libSceVoice/Export.cpp
docs/dev/debt/libSceVoice.md
PR 6467 core/libs/prx/libSceAgcDriver/State/src/Status.cpp
PR 6469 core/libs/prx/libc/src/GuestArena.cpp
PR 6472 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6479 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6481 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6499 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libc/include/GuestAllocations.hpp
PR 6504 core/libs/prx/libSceIme/Export.cpp
PR 6510 core/libs/prx/libkernel/Equeue/Equeue.cpp
core/libs/prx/libkernel/Equeue/src/FileEvent.cpp
PR 6525 core/libs/prx/libkernel_sys/Export.cpp
PR 6541 core/libs/prx/libc/src/RuntimeSupport.cpp
PR 6542 core/libs/prx/libc/src/GuestArena.cpp
PR 6545 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
PR 6546 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6548 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6550 core/libs/prx/libSceSaveData.native/Export.cpp
PR 6566 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6593 core/libs/prx/libSceJson2/Export.cpp
PR 6594 core/libs/prx/libSceNgs2.native/src/Geom.cpp
core/libs/prx/libSceNgs2.native/tests/Ngs2Geom.cpp
PR 6595 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
PR 6607 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
PR 6615 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6618 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
PR 6636 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6646 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6649 docs/dev/debt/libSceHttp.md
PR 6653 core/libs/prx/libSceAgc/Misc/src/ShaderFusion.cpp
docs/dev/debt/libSceAgc.md
PR 6667 core/libs/prx/libkernel_sys/Export.cpp
PR 6680 core/libs/prx/libSceNgs2.native/src/Geom.cpp
core/libs/prx/libSceNgs2.native/src/Ngs2Internal.hpp
core/libs/prx/libSceNgs2.native/src/Unimplemented.cpp
core/libs/prx/libSceNgs2.native/src/Voice.cpp
core/libs/prx/libSceNgs2.native/tests/Ngs2Geom.cpp
PR 6682 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6684 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
PR 6717 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
PR 6723 tools/tests/test_check_conventions_comments.py
PR 6724 core/libs/prx/libSceSaveData.native/Export.cpp
PR 6730 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6786 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6794 core/libs/prx/libSceAgc/Acb/src/Control.cpp
core/libs/prx/libSceAgc/tests/Commands.cpp
PR 6830 core/libs/prx/libSceDbgThreadSanitizer/Export.cpp
docs/dev/debt/libSceDbgThreadSanitizer.md
PR 6831 core/libs/prx/libSceSaveData.native/Export.cpp
docs/dev/debt/libSceSaveData.native.md
PR 6847 core/libs/prx/libSceAudiodec/Export.cpp
docs/dev/debt/libSceAudiodec.md
PR 6849 core/libs/prx/libSceAudioPropagation/Export.cpp
PR 6853 core/libs/prx/libc/src/RuntimeSupport.cpp
PR 6860 docs/dev/debt/libSceAudioOut.md
PR 6871 docs/dev/debt/libSceAudioOut.md
PR 6879 core/libs/prx/libSceSaveData.native/Export.cpp
core/libs/prx/libc/src/GuestArena.cpp
core/libs/prx/libkernel/Equeue/src/FileEvent.cpp
core/libs/prx/libkernel/System/src/Process.cpp
PR 6908 core/libs/prx/libkernel/Pthread/Posix/Thread.cpp
PR 6911 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6913 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6918 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6926 core/libs/prx/libc/src/GuestArena.cpp
PR 6939 core/libs/prx/libSceSystemService/Export.cpp
PR 6947 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6951 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6955 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 6964 docs/dev/debt/libSceAudioOut.md
PR 6974 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
PR 6975 core/libs/prx/libc/src/RuntimeSupport.cpp
PR 6977 core/libs/prx/libSceNpManager/Export.cpp
core/libs/prx/libSceSaveData.native/Export.cpp
core/libs/prx/libSceVideoOut/Unimplemented.cpp
core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
PR 6990 core/libs/prx/libSceNpManager/Export.cpp
PR 7037 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
core/relinker/relinker/src/analysis/UnusedNidFilter/EntryPointCollector.cpp
PR 7039 core/libs/prx/libSceSaveData.native/Export.cpp
core/libs/prx/libkernel/System/src/Process.cpp
PR 7049 core/libs/prx/libkernel/Equeue/Equeue.cpp
core/libs/prx/libkernel/Equeue/src/FileEvent.cpp
PR 7070 core/libs/prx/libc/src/GuestArena.cpp
PR 7081 core/libs/prx/libSceAmpr/Export.cpp
PR 7082 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7084 core/libs/prx/libc/src/Backtrace.cpp
PR 7088 core/libs/prx/libkernel/Equeue/src/FileEvent.cpp
PR 7091 core/libs/prx/libSceCesCs/Export.cpp
docs/dev/debt/libSceCesCs.md
PR 7121 core/libs/prx/libkernel/Equeue/src/FileEvent.cpp
PR 7129 core/libs/prx/libkernel/Equeue/Equeue.cpp
PR 7135 core/libs/prx/libkernel/Pthread/Posix/Thread.cpp
PR 7154 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7201 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libSceSystemService/Export.cpp
core/libs/prx/libc/src/GuestArena.cpp
core/libs/prx/libc/src/RuntimeSupport.cpp
core/libs/prx/libkernel/File/src/SharedMemory.cpp
core/libs/prx/libkernel/System/src/Process.cpp
core/libs/prx/libkernel_sys/Export.cpp
PR 7215 core/libs/prx/libSceJson2/Export.cpp
PR 7233 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7261 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7292 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7299 core/libs/prx/libkernel/File/src/SharedMemory.cpp
PR 7332 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libc/include/GuestAllocations.hpp
core/libs/prx/libc/src/Backtrace.cpp
core/libs/prx/libc/src/RuntimeSupport.cpp
core/libs/prx/libkernel/File/src/SharedMemory.cpp
core/libs/prx/libkernel/System/src/Process.cpp
core/libs/prx/libkernel_sys/Export.cpp
PR 7371 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7386 core/libs/prx/libc/src/Formatting.cpp
PR 7412 core/libs/prx/libSceNpManager/Export.cpp
PR 7416 core/libs/prx/libSceSystemService/Export.cpp
PR 7428 core/libs/prx/libSceNgs2.native/src/Voice.cpp
PR 7446 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7450 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp
PR 7457 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7465 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7466 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7473 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
core/libs/prx/libc/src/GuestArena.cpp
PR 7474 core/libs/prx/libc/src/Process.cpp
PR 7477 core/libs/prx/libSceJson2/Export.cpp
PR 7479 core/libs/prx/libSceWebBrowserDialog/Export.cpp
PR 7489 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7492 core/libs/prx/libkernel/Equeue/Equeue.cpp
PR 7509 core/libs/prx/libkernel/Equeue/Equeue.cpp
PR 7514 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7525 core/libs/prx/libc/src/Formatting.cpp
PR 7536 core/libs/prx/libSceSaveData.native/Export.cpp
docs/dev/debt/libSceSaveData.native.md
PR 7539 docs/dev/debt/libSceLibcInternal.md
PR 7543 core/libs/prx/libkernel/System/src/Process.cpp
PR 7557 core/libs/prx/libc/src/RuntimeSupport.cpp
PR 7563 core/libs/prx/libkernel_sys/Export.cpp
PR 7566 core/libs/prx/libSceVoice/Export.cpp
docs/dev/debt/libSceVoice.md
PR 7574 core/libs/prx/libSceSystemGesture/Export.cpp
PR 7580 core/libs/prx/libSceVideoRecordingP/Export.cpp
PR 7597 core/libs/prx/libSceNpManager/Export.cpp
PR 7606 core/libs/prx/libSceAgc/tests/Commands.cpp
PR 7614 core/libs/prx/libSceDbgThreadSanitizer/Export.cpp
PR 7615 core/libs/prx/libc/src/GuestArena.cpp
PR 7618 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7622 core/libs/prx/libc/src/Process.cpp
core/libs/prx/libkernel/Equeue/src/FileEvent.cpp
PR 7625 core/libs/prx/libSceAmpr/Export.cpp
PR 7629 core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7642 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7647 core/libs/prx/libSceAgcDriver/Graphics/include/GuestBufferMemory.hpp
core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp
PR 7648 core/libs/prx/libSceAmpr/Export.cpp
core/libs/prx/libc/src/RuntimeSupport.cpp
PR 7653 core/libs/prx/libkernel/Equeue/Equeue.cpp
PR 7654 core/libs/prx/libkernel/System/src/Process.cpp
PR 7658 core/libs/prx/libSceAgc/Acb/src/Control.cpp
core/libs/prx/libSceAgc/DcbState/src/Workload.cpp
core/libs/prx/libSceAgc/Misc/src/Suspend.cpp
core/libs/prx/libSceHttp/Export.cpp
core/libs/prx/libSceIme/Export.cpp
core/libs/prx/libSceJson2/Export.cpp
core/libs/prx/libSceSystemService/Export.cpp
core/libs/prx/libkernel/Pthread/Posix/Thread.cpp
core/libs/prx/libkernel/System/src/Process.cpp
core/libs/prx/libkernel_sys/Export.cpp
docs/dev/debt/libSceAudioOut.md
PR 7681 core/libs/prx/libSceAgc/tests/Commands.cpp

# Conflicts:
#	core/libs/prx/libSceAgcDriver/tests/execution/StoreOverUntracked.cpp
#	core/libs/prx/libSceAmpr/Export.cpp
#	core/libs/prx/libSceMouse/Export.cpp
#	core/libs/prx/libSceNgs2.native/src/Geom.cpp
#	core/libs/prx/libSceNgs2.native/src/Unimplemented.cpp
#	core/libs/prx/libSceNgs2.native/tests/Ngs2Geom.cpp
#	core/libs/prx/libSceNpWebApi2/Export.cpp
#	core/libs/prx/libSceSystemGesture/Export.cpp
#	core/libs/prx/libSceWebBrowserDialog/Export.cpp
#	core/libs/prx/libc/src/Backtrace.cpp
#	core/libs/prx/libkernel/Pthread/Posix/Thread.cpp
#	core/libs/prx/libkernel/Socket/src/Socket.cpp
#	core/libs/prx/libkernel/System/src/Coredump.cpp
#	core/libs/prx/libkernel_sys/Export.cpp
#	core/relinker/elfpatcher/src/general/SegmentFilter.cpp
#	docs/dev/debt/libSceAppContent.md
#	docs/dev/debt/libSceGameUpdate.md
#	docs/dev/debt/libSceHmd2.md
#	docs/dev/debt/libSceJson2.md
#	docs/dev/debt/libSceNet.md
#	docs/dev/debt/libSceNgs2.native.md
#	docs/dev/debt/libSceNpManager.md
#	docs/dev/debt/libSceNpWebApi2.md
#	docs/dev/debt/libScePad.md
#	docs/dev/debt/libSceProprietaryVoiceChatHelperPrx.md
#	docs/dev/debt/libSceSaveData.native.md
#	docs/dev/debt/libSceSystemGesture.md
#	docs/dev/debt/libSceSystemService.md
#	docs/dev/debt/libSceWebBrowserDialog.md
#	docs/dev/debt/libkernel_sys.md
#	tools/tests/test_progress_render_sliver.py
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 18, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 18, 2026
@adriadam10 adriadam10 self-assigned this Oct 18, 2026
@github-actions

Copy link
Copy Markdown

Progress report (9f25d0b → 82d9c25)

📈 System libraries: 93.2% (+2.88%, +112 implemented functions)

✅ 112 implemented
Library Name
libSceAgc sceAgcAcbPushMarkerSpan
libSceAgc sceAgcAcbSetFlip
libSceAgc sceAgcAcbSetMarkerSpan
libSceAgc sceAgcAcbSetWorkloadComplete
libSceAgc sceAgcAcbSetWorkloadStreamInactive
libSceAgc sceAgcAcbSetWorkloadsActive
libSceAgc sceAgcDcbBeginOcclusionQueryGetSize
libSceAgc sceAgcDcbEndOcclusionQueryGetSize
libSceAgc sceAgcDcbPushMarkerSpan
libSceAgc sceAgcDcbSetIndexIndirectArgs
libSceAgc sceAgcDcbSetIndexIndirectArgsGetSize
libSceAgc sceAgcDcbSetMarkerSpan
libSceAgc sceAgcDcbSetWorkloadStreamInactive
libSceAgc sceAgcGetShaderInstrumentation
libSceAgc sceAgcSetShaderInstrumentation
libSceAgc sceAgcSetSubmitMode
libSceAgc sceAgcUnknownCreateInterpolantMapping
libSceAgc sceAgcUpdateInterpolantMapping_0100
libSceAgcDriver sceAgcDriverGetHsOffchipParam
libSceAgcDriver sceAgcDriverRequestCaptureStart
libSceAgcDriver sceAgcDriverRequestCaptureStop
libSceAgcDriver sceAgcDriverTriggerCapture
libSceAmpr _Thrd_id_nid_postfix
libSceAudioIn sceAudioInAsyncOpen
libSceAudioIn sceAudioInHqOpen
libSceAudioIn sceAudioInIsPadEmbeddedMic
libSceAudioIn sceAudioInOpen
libSceAudioOut sceAudioOut2SetSystemDebugState
libSceAudioPropagation sceAudioPropagationSourceSetAudioPath
libSceAudiodec sceAudiodecCreateDecoder
libSceAudiodec sceAudiodecDecode
libSceCesCs sceCesEucJpToUcs2
libSceCesCs sceCesMbcsStrGetUcs2Len
libSceCesCs sceCesMbcsStrGetUtf8Len
libSceCesCs sceCesMbcsStrToUcs2Str
libSceCesCs sceCesMbcsStrToUtf8Str
libSceCesCs sceCesRefersUcsProfileCp1250
libSceDbgThreadSanitizer __tsan_acquire
libSceDbgThreadSanitizer __tsan_release
libSceFontFt sceFontFtInitAliases
libSceFontFt sceFontFtSetAliasFont
libSceFontFt sceFontFtSetAliasPath
libSceFontFt sceFontFtSupportBdf
libSceFontFt sceFontFtSupportCid
libSceFontFt sceFontFtSupportFontFormats
libSceFontFt sceFontFtSupportOpenType
libSceFontFt sceFontFtSupportOpenTypeOtf
libSceFontFt sceFontFtSupportOpenTypeTtf
libSceFontFt sceFontFtSupportPcf
libSceFontFt sceFontFtSupportPfr
libSceFontFt sceFontFtSupportSystemFonts
libSceFontFt sceFontFtSupportTrueType
libSceFontFt sceFontFtSupportTrueTypeGx
libSceFontFt sceFontFtSupportType1
libSceFontFt sceFontFtSupportType42
libSceFontFt sceFontFtSupportWinFonts
libSceFontFt sceFontFtTermAliases
libSceFontFt sceFontSelectGlyphsFt
libSceGameLiveStreaming sceGameLiveStreamingGetProgramInfo
libSceHttp sceHttpSetCookieEnabled
libSceIme sceImeOpen_nid_postfix
libSceJson2 _ZN3sce4Json5Value22setSpecialFloatHandlerEPFKS1_NS0_12FunctionTypeEdPS2_PvPbES5_
libSceJson2 _ZN3sce4Json5Value22setTypeMismatchHandlerEPFRKS1_NS0_9ValueTypeEPS2_S5_PvES6_
libSceJson2 _ZN3sce4Json5Value30setElementAccessFailureHandlerEPFviPKNS0_6StringEPKmPKS1_S8_PvES9_
libSceJson2 _ZN3sce4Json6Object6insertERKNS1_4PairE
libSceJson2 _ZNK3sce4Json5ValuecvbEv
libSceLibcInternal posix_spawn_nid_postfix
libSceLibcInternal posix_spawnp_nid_postfix
libSceNgs2.native sceNgs2ReportRegisterHandler
libSceNgs2.native sceNgs2ReportUnregisterHandler
libSceNpManager sceNpGetSandboxInfo
libSceNpManager sceNpRegisterGamePresenceCallback
libSceNpManager sceNpSetContentRestriction
libSceNpWebApi2 sceNpWebApi2AddWebTraceTag
libSceProprietaryVoiceChatHelperPrx sceProprietaryVoiceChatHelperGetVoiceChatUsageState
libSceSaveData.native sceSaveDataCancel
libSceSaveData.native sceSaveDataPrepareForTransferring
libSceSystemGesture sceSystemGestureGetPrimitiveTouchEventByPrimitiveID
libSceSystemGesture sceSystemGestureGetTouchEventByEventID
libSceSystemService sceSystemServiceKillApp
libSceSystemService sceSystemServiceLaunchApp
libSceSystemService sceSystemServiceLoadExec
libSceSystemService sceSystemServiceOpenTournamentOccurrence
libSceSystemService sceSystemServiceParamGetString
libSceVideoOut sceVideoOutClearFlipMaster
libSceVideoOut sceVideoOutSetFlipMaster
libSceVoice sceVoiceDisableChat
libSceVoice sceVoiceEnableChat
libSceVoice sceVoiceWriteToIPort
libSceWebBrowserDialog sceWebBrowserDialogResetCookie
libSceWebBrowserDialog sceWebBrowserDialogSetCookie
libc _ZNSt8ios_base7_AddstdEPS__nid_postfix
libc _ZSt14_Atomic_assertPKcS0__nid_postfix
libc daemon_nid_postfix
libc fscanf_nid_postfix
libc vsscanf_nid_postfix
libkernel _umtx_op_nid_postfix
libkernel cpuset_getaffinity_nid_postfix
libkernel cpuset_setaffinity_nid_postfix
libkernel execv_nid_postfix
... 12 more
⚪ 46 behaviourally empty (constant return or throw)
Library Name
libSceAgc sceAgcDcbEndOcclusionQueryGetSize
libSceAgc sceAgcDcbSetIndexIndirectArgsGetSize
libSceAgcDriver sceAgcDriverGetHsOffchipParam
libSceAudioOut sceAudioOut2SetSystemDebugState
libSceCesCs sceCesRefersUcsProfileCp1250
libSceDbgThreadSanitizer __tsan_acquire
libSceDbgThreadSanitizer __tsan_release
libSceFontFt sceFontFtInitAliases
libSceFontFt sceFontFtSetAliasFont
libSceFontFt sceFontFtSetAliasPath
libSceFontFt sceFontFtSupportBdf
libSceFontFt sceFontFtSupportCid
libSceFontFt sceFontFtSupportFontFormats
libSceFontFt sceFontFtSupportOpenType
libSceFontFt sceFontFtSupportOpenTypeOtf
libSceFontFt sceFontFtSupportOpenTypeTtf
libSceFontFt sceFontFtSupportPcf
libSceFontFt sceFontFtSupportPfr
libSceFontFt sceFontFtSupportSystemFonts
libSceFontFt sceFontFtSupportTrueType
libSceFontFt sceFontFtSupportTrueTypeGx
libSceFontFt sceFontFtSupportType1
libSceFontFt sceFontFtSupportType42
libSceFontFt sceFontFtSupportWinFonts
libSceFontFt sceFontFtTermAliases
libSceFontFt sceFontSelectGlyphsFt
libSceGameLiveStreaming sceGameLiveStreamingGetProgramInfo
libSceJson2 _ZN3sce4Json5Value22setSpecialFloatHandlerEPFKS1_NS0_12FunctionTypeEdPS2_PvPbES5_
libSceJson2 _ZN3sce4Json5Value22setTypeMismatchHandlerEPFRKS1_NS0_9ValueTypeEPS2_S5_PvES6_
libSceJson2 _ZN3sce4Json5Value30setElementAccessFailureHandlerEPFviPKNS0_6StringEPKmPKS1_S8_PvES9_
libSceLibcInternal posix_spawn_nid_postfix
libSceLibcInternal posix_spawnp_nid_postfix
libSceNpManager sceNpRegisterGamePresenceCallback
libSceNpManager sceNpSetContentRestriction
libSceNpWebApi2 sceNpWebApi2AddWebTraceTag
libSceSaveData.native sceSaveDataCancel
libSceSaveData.native sceSaveDataPrepareForTransferring
libSceSystemService sceSystemServiceLaunchApp
libSceSystemService sceSystemServiceOpenTournamentOccurrence
libSceVideoOut sceVideoOutClearFlipMaster
libSceVideoOut sceVideoOutSetFlipMaster
libSceVoice sceVoiceDisableChat
libSceVoice sceVoiceEnableChat
libc _ZNSt8ios_base7_AddstdEPS__nid_postfix
libc _ZSt14_Atomic_assertPKcS0__nid_postfix
libkernel sceCoredumpSetUserDataType

@adriadam10

Copy link
Copy Markdown
Collaborator

Closing this one: it bundles roughly thirty unrelated changes (Agc, Ngs2 geometry, CesCs, Json2, Http, SaveData, VideoOut, AudioIn, libc, kernel, tools and conventions tests) in 80 files and 67 commits with merge commits, and it conflicts with main. CONTRIBUTING asks for one topic per PR, and this can't be reviewed or bisected as a unit.

Concrete problems:

You're welcome to reopen as small PRs, one per library or topic, each rebased on current main, with a test that fails without the change and its source cited. sceWebBrowserDialogOpenForPredeterminedContent has title evidence in this thread (PPSA16833, by @Tamalero) and would make a good first one.

@adriadam10 adriadam10 closed this Oct 18, 2026
ycbuzi added a commit to ycbuzi/AnyPS5 that referenced this pull request Oct 20, 2026
lstat and readlink threw NotImplemented for every Windows reparse point
other than a symbolic link or a drive junction. A tag without the name
surrogate bit (cloud files, deduplication) does not stand for another path,
so lstat now answers as stat does and readlink returns EINVAL, as FreeBSD
does for a file that is not a link and as CPython's os.lstat and os.readlink
do (bpo-37834). A name surrogate that is neither a symbolic link nor a
junction (a mounted volume, a WSL link) is reported as the reparse point
itself with the mode of its attributes, and readlink returns EINVAL.

The tests set reparse tags with FSCTL_SET_REPARSE_POINT, one without the
name surrogate bit and one with it. A compact /exe (WOF) file cannot serve
as the fixture: on Windows 11 24H2 the WOF filter hides the reparse point
from GetFileAttributesW and FileAttributeTagInfo alike. Windows refuses
every open of an unhandled tag without FILE_FLAG_OPEN_REPARSE_POINT, so the
test requires lstat to agree with stat rather than to succeed.

mashingaan's boykopovar#6447 returned EINVAL for other reparse
points without the tag check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc* docs libc libkernel needs rebase Conflicts with main, rebase needed prx relinker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants