LMMS
Loading...
Searching...
No Matches
Spc_Emu.cpp File Reference
#include "Spc_Emu.h"
#include "blargg_endian.h"
#include <stdlib.h>
#include <string.h>
#include "blargg_source.h"

Classes

struct  Spc_File

Functions

static void get_spc_xid6 (byte const *begin, long size, track_info_t *out)
static void get_spc_info (Spc_Emu::header_t const &h, byte const *xid6, long xid6_size, track_info_t *out)
static blargg_err_t check_spc_header (void const *header)
static Music_Emunew_spc_emu ()
static Music_Emunew_spc_file ()

Variables

long const trailer_offset = 0x10200
static gme_type_t_ const gme_spc_type_ = { "Super Nintendo", 1, &new_spc_emu, &new_spc_file, "SPC", 0 }
BLARGG_EXPORT gme_type_t const gme_spc_type = &gme_spc_type_

Function Documentation

◆ check_spc_header()

blargg_err_t check_spc_header ( void const * header)
static

◆ get_spc_info()

void get_spc_info ( Spc_Emu::header_t const & h,
byte const * xid6,
long xid6_size,
track_info_t * out )
static

◆ get_spc_xid6()

void get_spc_xid6 ( byte const * begin,
long size,
track_info_t * out )
static

◆ new_spc_emu()

Music_Emu * new_spc_emu ( )
static

◆ new_spc_file()

Music_Emu * new_spc_file ( )
static

Variable Documentation

◆ gme_spc_type

BLARGG_EXPORT gme_type_t const gme_spc_type = &gme_spc_type_
extern

◆ gme_spc_type_

gme_type_t_ const gme_spc_type_ = { "Super Nintendo", 1, &new_spc_emu, &new_spc_file, "SPC", 0 }
static

◆ trailer_offset

long const trailer_offset = 0x10200