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

📄 nesdata.h

📁 nes游戏模拟器
💻 H
字号:
//------------------------------------------------------------------------------
// Name: NESData.h
// Desc: This header file holds the structure that is passed to the memory
//       mapper .dll. This structure holds pointers to our variables that
//       the mapper may need to use or modify.
//------------------------------------------------------------------------------

#ifndef __NESDATA_H__
#define __NESDATA_H__

#include "Cpu.h"
#include "Ppu.h"

typedef struct tagNESData
{
	NES6502* pCPU;            // Pointer to the CPU structure.
	NESPPU*  pPPU;            // Pointer to the PPU structure.
	BYTE*    pabyPRGROM;      // Pointer to the array of program rom.
	WORD     wNumPRGROMPages; // Number of program rom pages.
	BYTE*    pabyCHRROM;      // Pointer to the array of pattern rom.
	WORD     wNumCHRROMPages; // Number of program rom pages.
} NESDATA;


#endif

⌨️ 快捷键说明

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