?? valloc.c.svn-base
字號:
/* * Helper for use with the PSP Software Development Kit - http://www.pspdev.org * ----------------------------------------------------------------------- * Licensed as 'free to use and modify as long as credited appropriately' * * valloc.c - Standard C VRAM allocation routines. * * Copyright (c) 2006 Alexander Berl 'Raphael' <raphael@fx-world.org> * http://wordpress.fx-world.org * *///#include <psptypes.h>//#include <pspkernel.h>#ifdef DEBUG#include <pspdebug.h>#endif#include <pspgu.h>#include <malloc.h>#include "valloc.h"
#ifdef DEBUG#define printf pspDebugScreenPrintf#endif/* Use this to set the default valloc() alignment. */#define DEFAULT_VALIGNMENT 16#ifndef ALIGN#define ALIGN(x, align) (((x)+((align)-1))&~((align)-1))#endif
#define VRAM_SIZE 0x00200000
#define VRAM_BASE 0x04000000#define UNCACHED_POINTER 0
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -