mirror of
https://github.com/mkwong98/HDNes.git
synced 2024-05-20 13:07:54 -04:00
5ae36cc2c7
Added folder for C++ code. Added shaders, user manual, wxwidget files and VS files
34 lines
698 B
C
34 lines
698 B
C
#pragma once
|
|
|
|
#include "sysSetting.h"
|
|
#include "gameManager.h"
|
|
#include "video.h"
|
|
#include "audio.h"
|
|
#include "memory.h"
|
|
#include "cart.h"
|
|
#include "cpu.h"
|
|
#include "mapper.h"
|
|
#include "ppu.h"
|
|
#include "apu.h"
|
|
#include "input.h"
|
|
#include "fraHDNesImp.h"
|
|
|
|
//Global vars
|
|
extern sysSetting* setting;
|
|
extern gameManager* gm;
|
|
extern video* vid;
|
|
extern audio* mixer;
|
|
extern memory* memDat;
|
|
extern cart* romDat;
|
|
extern cpu* cpuCore;
|
|
extern mapper* mmc;
|
|
extern ppu* ppuCore;
|
|
extern apu* apuCore;
|
|
extern input* inputCore;
|
|
extern fraHDNesImp* guiForm;
|
|
|
|
typedef void(cpu::*opcode)();
|
|
typedef Uint8(cpu::*opcodeTicks)();
|
|
|
|
extern opcode opArr[256];
|
|
extern opcodeTicks opTicksArr[256]; |