retro8
retro8 copied to clipboard
Assertion failed! with Visual C++ Runtime Library
Whenever I try to load a cart that I downloaded from Lexaloffle BBS site (.PNG files, not .P8 files), I get the following error..
Microsoft Visual C++ Runtime Library
Assertion failed! Program: retroarch.exe File: src/io/stegano.cpp Line: 63
Expression: magic == expected
.P8 files work just fine though. Not sure if I should open the issue with RetroArch or not. Please let me know if that is the case, and I will close this one.
Which is the cart so that I can check it directly? Maybe some internal format is changed and that leads to an assertion I placed to avoid problems.
I was trying to run the "Masters of the Universe" cart from https://www.lexaloffle.com/bbs/?pid=81037#p. If I left the file name as it is downloaded .PNG, RetroArch opens, but just shows the Picture... and the game does not run. When I rename the file to a .P8 extension, I get the error.
This same file works for me in other Pico-8 emulators (like tac08 on my RG350).
This is caused by a change of p8.png format. I added the code to make this new version work but there are still quirks which prevent the game from loading. I'm going into the right direction though.