Improve Hades II compatibility #964
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!964
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/964/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@nomolao2-cell on GitHub · 2026-10-01 22:13 UTC · original
nomolao2-cell:hades2fixes→main· +47 −1 · 7 files · 1 commits · merged 2026-10-02 10:37 UTCProblem
Hades II (PS5 title ID PPSA36082, version 01.006.000) called an unresolved kernel import during startup. The emulator then crashed shortly after the title screen with a host access violation.
After startup was fixed, RenderDoc captures showed graphical artifacts during gameplay, including black patches and flickering. The command processor was also encountering pixel-shader register state used by the game but not handled by KytyPS5.
Fix
La9uyZv4Kvwkernel import used by Hades II to obtain its guest CPU-availability mask.R16G16B16A16_SFLOATrender targets so cleared images do not retain stale contents.Scope
These are emulator-side kernel, command-processor, buffer-cache, and image-clear compatibility changes.
No game files, guest binaries, or game assets are modified. This does not include the separate Intel Astro Bot fixes.
Testing
kyty_emulator) — passed.BEFORE
AFTER
No regression found at my end.
AI use disclosure
Codex assisted with investigating the Hades II startup crash and RenderDoc-captured graphics artifacts, preparing the compatibility changes, and checking the local Windows Release build. The resulting diff was inspected, and manual Hades II testing was performed on the PC listed above.
@coderabbitai[bot] on GitHub · 2026-10-01 22:22 UTC · original
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
98b5a885-0976-4280-965c-d836378571b8📥 Commits
Reviewing files that changed from the base of the PR and between
b3e419ff11and 57759af62222b96715494400557dd546bad2937b.📒 Files selected for processing (7)
src/graphics/guest_gpu/command_processor/pm4Dispatch.cppsrc/graphics/guest_gpu/command_processor/pm4Handlers.cppsrc/graphics/guest_gpu/hardwareContext.hsrc/graphics/guest_gpu/pm4.hsrc/graphics/host_gpu/renderer/cache/bufferCache.cppsrc/graphics/host_gpu/renderer/image/imageInfo.hsrc/libs/libKernel.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
📝 Walkthrough
Walkthrough
The change adds pixel-shader user-data and auxiliary-table address storage and register dispatch. It also updates buffer LRU handling during range synchronization, adds handling for zero packed half-float color clears, and registers a kernel function that returns the available CPU mask.
Suggested reviewers:
nmzikPriority: ➖ Normal
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
57759No actionable merge-blocking issue remains in these compatibility changes. Normal build and platform checks remain appropriate before merging.
Security Architecture Review
Security architecture risk: 🔵 Low · up to
57759This is a bounded compatibility change. No new privilege or sensitive-data access was demonstrated, but the undocumented interface and incomplete memory-lifetime coverage warrant a low rather than minimal risk assessment.
Retained concerns
No architecture-level concerns identified.
Security review details
Security Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.@Nmzik on GitHub · 2026-10-02 10:37 UTC · original
@nomolao2-cell Thanks