Loading...
Searching...
No Matches
snes.h File Reference

OpenSNES Master Header. More...

#include <snes/types.h>
#include <snes/registers.h>
#include <snes/console.h>
#include <snes/video.h>
#include <snes/sprite.h>
#include <snes/background.h>
#include <snes/input.h>
#include <snes/dma.h>
#include <snes/text.h>
#include <snes/interrupt.h>
#include <snes/system.h>
#include <snes/mode7.h>
#include <snes/hdma.h>
#include <snes/window.h>
#include <snes/colormath.h>
#include <snes/mosaic.h>
#include <snes/map.h>
#include <snes/debug.h>

Go to the source code of this file.

Macros

#define OPENSNES_VERSION_MAJOR   0
 OpenSNES major version.
 
#define OPENSNES_VERSION_MINOR   1
 OpenSNES minor version.
 
#define OPENSNES_VERSION_PATCH   0
 OpenSNES patch version.
 
#define OPENSNES_VERSION_STRING   "0.1.0-dev"
 OpenSNES version string.
 

Detailed Description

OpenSNES Master Header.

Include this file to access all OpenSNES functionality.

#include <snes.h>
int main(void) {
// Your game code here
while (1) {
}
}
int main(void)
Entry point — initialize audio, display controls, run transport loop.
Definition main.c:37
void consoleInit(void)
Initialize SNES hardware.
void WaitForVBlank(void)
Wait for next VBlank period.
OpenSNES Master Header.
Author
OpenSNES Team

Macro Definition Documentation

◆ OPENSNES_VERSION_MAJOR

#define OPENSNES_VERSION_MAJOR   0

OpenSNES major version.

◆ OPENSNES_VERSION_MINOR

#define OPENSNES_VERSION_MINOR   1

OpenSNES minor version.

◆ OPENSNES_VERSION_PATCH

#define OPENSNES_VERSION_PATCH   0

OpenSNES patch version.

◆ OPENSNES_VERSION_STRING

#define OPENSNES_VERSION_STRING   "0.1.0-dev"

OpenSNES version string.