⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.c

📁 nds PALIB利用PAFS的字体显示程序
💻 C
字号:
// Includes
#include <PA9.h>       // Include for PA_Lib
#include "hz.h"
	
// Function: main()
int main(int argc, char ** argv)
{
	PA_Init();    // Initializes PA_Lib	
	PA_InitVBL(); // Initializes a standard VBL
		
	PA_Init16bitBg(1,0);
 
	PA_FSInit(); // Inits PA File System, and returns the number of files
	  
	LoadGbkFont("ASC12", "fon", "GBK12", "fon");
		
	OutputGbkText(1, 220, 10, PA_RGB(31,0,0), "水银+教程=?", 12);
		
	// Infinite loop to keep the program running
	while (1)
	{ 
		PA_WaitForVBL();
	}
	
	return 0;
} // End of main()

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -