5static int graph_vram_pointer = 0;
15 graph_vram_pointer += size;
21 graph_vram_pointer -= size;
26 return graph_vram_pointer - size;
33 graph_vram_pointer = address;
40 graph_vram_pointer = 0;
60 case GS_PSM_4HH: width = -128 & (width + 127);
break;
61 default: width = -64 & (width + 63);
break;
70 case GS_PSM_4: size = width*(height>>3);
break;
71 case GS_PSM_8: size = width*(height>>2);
break;
88 size = -alignment & (size + (alignment-1));
void graph_vram_free(int address)
int graph_vram_allocate(int width, int height, int psm, int alignment)
void graph_vram_clear(void)
int graph_vram_size(int width, int height, int psm, int alignment)
#define GRAPH_VRAM_MAX_WORDS