mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-17 12:51:15 +00:00
25 lines
701 B
C
25 lines
701 B
C
#pragma once
|
|
|
|
#include <psp2/types.h>
|
|
#include <psp2/kernel/sysmem.h>
|
|
#include <psp2/kernel/clib.h>
|
|
#include <SDL3/SDL_stdinc.h>
|
|
|
|
void *patcher_host_alloc(void *user_data, unsigned int size);
|
|
void patcher_host_free(void *user_data, void *mem);
|
|
|
|
void* vita_mem_alloc(
|
|
unsigned int type,
|
|
size_t size,
|
|
size_t alignment,
|
|
int attribs,
|
|
SceUID* uid,
|
|
const char* name,
|
|
size_t* alignedSize
|
|
);
|
|
void vita_mem_free(SceUID uid);
|
|
|
|
void *vita_mem_vertex_usse_alloc(unsigned int size, SceUID *uid, unsigned int *usse_offset);
|
|
void vita_mem_vertex_usse_free(SceUID uid);
|
|
void *vita_mem_fragment_usse_alloc(unsigned int size, SceUID *uid, unsigned int *usse_offset);
|
|
void vita_mem_fragment_usse_free(SceUID uid); |