Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample level0 does not work on real HW #6

Closed
ABelliqueux opened this issue Jun 29, 2021 · 2 comments
Closed

Sample level0 does not work on real HW #6

ABelliqueux opened this issue Jun 29, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ABelliqueux
Copy link
Owner

ABelliqueux commented Jun 29, 2021

When trying to load level0 on real HW, black screen, but level1 works.

Could be :

  • Dependency on a pointer that's not honored by the content of the level file (physics ?).
  • Something to do with the temporary use of a hardcoded mesh in the LEVEL struc : Removed with 8469e7a
    MESH * meshPlan; // This one is temporary
@ABelliqueux ABelliqueux self-assigned this Jun 29, 2021
@ABelliqueux ABelliqueux added the bug Something isn't working label Jun 29, 2021
@ABelliqueux
Copy link
Owner Author

Issue seems to be related to trying to load/use non existent texture data in vram.

Fixing was :

  • Checking for actual texture data before trying to load a texture to vram.
  • Setting TPage to (2,0,0,0) if no data exists.
  • Setting UVs to 0 if no data exists

Now works in emu, real hw test needed to close.

@ABelliqueux
Copy link
Owner Author

Works on real HW with xstation, still not working via serial upload...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant