You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compression returns LZHAM_COMP_STATUS_FAILED there is no way to tell what went wrong. And if you look at the code, there are around 10 different decision points that can result in LZHAM_COMP_STATUS_FAILED be returned. You have to actually debug through the library code, to find out where exactly it's failed.
Some better feedback on the library part here, will be most appreciated.
The text was updated successfully, but these errors were encountered:
Thank you for this. Could you please clarify how this is addressed? I cannot spot the difference; For example lzham_compress_memory signature looks the same and lzham_compress_status_t enum also looks the same.
Also, could you please clarify what GDC stands for?
So the devel version now supports LZHAM_ERROR_LOGGING. Right now it only outputs to stderr (optionally), but this could be changed to call a callback (for example). I went through the entire codec and marked up every place an error can occur, to make it easier to track down what went wrong internally. I know this isn't perfect but it's a start.
GDC is the Games Developers Conference, next months.
When compression returns LZHAM_COMP_STATUS_FAILED there is no way to tell what went wrong. And if you look at the code, there are around 10 different decision points that can result in LZHAM_COMP_STATUS_FAILED be returned. You have to actually debug through the library code, to find out where exactly it's failed.
Some better feedback on the library part here, will be most appreciated.
The text was updated successfully, but these errors were encountered: