-
-
Notifications
You must be signed in to change notification settings - Fork 574
Informs retroarch that PNG extension is also supported #2832
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
Conversation
|
I verified that the way to inform multiple extensions is by using pipe by doing this search: https://github.com/search?q=info-%3Evalid_extensions&type=code&p=3 |
|
Although I'm just trying to load Bone Knight png cart through the libretro core and it fails, but it works in the standalone. I will do more checks later. |
|
I found why the libretro doesn't load PNGs: the standalone binary first calls The libretro version sends the PNG directly to I will see if I can make a patch to fix this. |
Moved loadPngCart from studio.c to cart.c The standalone binary loads carts from this stack: studio.c: studio_create() console.c: initConsole() console.c: cmdLoadCart() cmdLoadCart() had a working PNG cart load, but libretro uses `tic.c: tic80_load()` directlty, but that had a incompete PNG load. So I tried to combine and bring the aproach from cmdLoadCart() to tic80_load() by letting them both use the same PNG loading function.
|
I tested it locally on my Linux, on Android standalone and retroarch. All seems to be working as expected, to load .tic and .png files. |
|
This patch will also make it easier to fix BUILD_EDITORS=OFF in a future patch. |
|
If you want to run a tic80 binary built with the |
No description provided.