NoPspEmuDrm Vita by theheroGAC: Difference between revisions
From GameBrew
More actions
No edit summary |
m Text replacement - "By theheroGAC" to "by theheroGAC" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox Vita Homebrews | {{Infobox Vita Homebrews | ||
|title=NoPspEmuDrm | |title=NoPspEmuDrm by theheroGAC | ||
|image=Nopspemudrmvita.png | |image=Nopspemudrmvita.png | ||
|description=Mod of NoPspEmuDrmArkMod. | |description=Mod of NoPspEmuDrmArkMod. | ||
| Line 17: | Line 17: | ||
|title_mode=append | |title_mode=append | ||
|image=Nopspemudrmvita.png | |image=Nopspemudrmvita.png | ||
|image_alt=NoPspEmuDrm | |image_alt=NoPspEmuDrm by theheroGAC | ||
}} | }} | ||
A fork of [https://github.com/Kethen/NoPspEmuDrmArkMod NoPspEmuDrmArkMod] (customized [[NoPspEmuDrm Vita|NoPspEmuDrm]] to be used with ARK standalone). | A fork of [https://github.com/Kethen/NoPspEmuDrmArkMod NoPspEmuDrmArkMod] (customized [[NoPspEmuDrm Vita|NoPspEmuDrm]] to be used with ARK standalone). | ||
Latest revision as of 05:36, 5 October 2025
| NoPspEmuDrm by theheroGAC | |
|---|---|
| General | |
| Author | theheroGAC |
| Type | Plugins |
| Version | 0.1t |
| License | GPL-3.0 |
| Last Updated | 2025/07/29 |
| Links | |
| Download | |
| Website | |
| Source | |
A fork of NoPspEmuDrmArkMod (customized NoPspEmuDrm to be used with ARK standalone).
Changelog
v0.1t
- [Added]
- Robust error handling:
- Now, every hook installation in init_highmem() is checked for errors. If any hook fails, all previously installed hooks are released and an error is logged.
- Array of hook references:
- Introduced hook_refs[] to store pointers to each hook reference, ensuring the correct reference is passed to taiHookReleaseForKernel (fixes compiler warnings and ensures proper cleanup).
- Robust error handling:
- [Changed]
- Hook release logic:
- In both init_highmem() (on failure) and term_highmem(), hooks are now released using their correct reference from hook_refs[] instead of passing NULL.Variable initialization:
- The mem_hooks array is initialized to -1 for all elements to avoid accidental use of uninitialized values.
- In both init_highmem() (on failure) and term_highmem(), hooks are now released using their correct reference from hook_refs[] instead of passing NULL.Variable initialization:
- Resetting state:
- After releasing hooks, mem_hooks[i] is set to -1 and extra_1_blockid/extra_2_blockid are reset to -1 to avoid stale references.
- Hook release logic:
- [Improved]
- Logging:
- Added and improved log messages for all critical operations (hook installation, failure, release, and variable reset) to aid debugging and maintenance.