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

Classes

struct  Gbs_File

Functions

static void copy_gbs_fields (Gbs_Emu::header_t const &h, track_info_t *out)
static blargg_err_t check_gbs_header (void const *header)
static Music_Emunew_gbs_emu ()
static Music_Emunew_gbs_file ()

Variables

static gme_type_t_ const gme_gbs_type_ = { "Game Boy", 0, &new_gbs_emu, &new_gbs_file, "GBS", 1 }
BLARGG_EXPORT gme_type_t const gme_gbs_type = &gme_gbs_type_
static uint8_t const sound_data [Gb_Apu::register_count]

Function Documentation

◆ check_gbs_header()

blargg_err_t check_gbs_header ( void const * header)
static

◆ copy_gbs_fields()

void copy_gbs_fields ( Gbs_Emu::header_t const & h,
track_info_t * out )
static

◆ new_gbs_emu()

Music_Emu * new_gbs_emu ( )
static

◆ new_gbs_file()

Music_Emu * new_gbs_file ( )
static

Variable Documentation

◆ gme_gbs_type

BLARGG_EXPORT gme_type_t const gme_gbs_type = &gme_gbs_type_
extern

◆ gme_gbs_type_

gme_type_t_ const gme_gbs_type_ = { "Game Boy", 0, &new_gbs_emu, &new_gbs_file, "GBS", 1 }
static

◆ sound_data

uint8_t const sound_data[Gb_Apu::register_count]
static
Initial value:
= {
0x80, 0xBF, 0x00, 0x00, 0xBF,
0x00, 0x3F, 0x00, 0x00, 0xBF,
0x7F, 0xFF, 0x9F, 0x00, 0xBF,
0x00, 0xFF, 0x00, 0x00, 0xBF,
0x77, 0xF3, 0xF1,
0, 0, 0, 0, 0, 0, 0, 0, 0,
0xAC, 0xDD, 0xDA, 0x48, 0x36, 0x02, 0xCF, 0x16,
0x2C, 0x04, 0xE5, 0x2C, 0xAC, 0xDD, 0xDA, 0x48
}