add pxl8.get_title() API to expose cart title to Lua
This commit is contained in:
parent
db82efe269
commit
99d9c43ea3
9 changed files with 75 additions and 22 deletions
|
|
@ -13,7 +13,7 @@ static inline char pxl8_to_lower(char c) {
|
|||
pxl8_result pxl8_io_read_file(const char* path, char** content, size_t* size) {
|
||||
if (!path || !content || !size) return PXL8_ERROR_NULL_POINTER;
|
||||
|
||||
pxl8_cart* cart = pxl8_cart_current();
|
||||
pxl8_cart* cart = pxl8_get_cart();
|
||||
if (cart && pxl8_cart_is_packed(cart)) {
|
||||
u8* data = NULL;
|
||||
u32 cart_size = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue