diff options
| author | yogi313 <yogi313@gmail.com> | 2025-01-21 18:23:03 +0100 |
|---|---|---|
| committer | yogi313 <yogi313@gmail.com> | 2025-01-21 18:23:03 +0100 |
| commit | 397d138423446e5b52bf1f17ab688800070238f1 (patch) | |
| tree | 0df5d4c527b2e9af30bbdc08758ed77f6e3d0021 /examples/beginner/cppdemo/main.cpp | |
| parent | 787db196ad3c4e945792997111d759f82110775a (diff) | |
| download | psn00bsdk-397d138423446e5b52bf1f17ab688800070238f1.tar.gz | |
Fix TIM compatibility and improve TIM validation.
PSn00bSDK is a good SDK for testing decompiled game code and working with extracted TIM resources.
However, there is an issue where some textures that can be loaded with the PsyQ SDK
are not compatible with PSn00bSDK, causing a black screen when attempting to load them.
This commit fixes this issue.
Additionally, it adds a new check in the `GsGetTimInfo` and `GetTimInfo` functions.
The check verifies if pixel data exists before setting the corresponding fields in the structure,
preventing the loading of garbage data.
Diffstat (limited to 'examples/beginner/cppdemo/main.cpp')
0 files changed, 0 insertions, 0 deletions
