NoPspEmuDrm Vita by theheroGAC
From GameBrew
More actions
| 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.