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

Classes

struct  Hes_File
struct  Hes_File::header_t

Functions

static byte constcopy_field (byte const *in, char *out)
static void copy_hes_fields (byte const *in, track_info_t *out)
static blargg_err_t check_hes_header (void const *header)
static Music_Emunew_hes_emu ()
static Music_Emunew_hes_file ()
static void adjust_time (blargg_long &time, hes_time_t delta)

Variables

int const timer_mask = 0x04
int const vdp_mask = 0x02
int const i_flag_mask = 0x04
int const unmapped = 0xFF
long const period_60hz = 262 * 455L
static gme_type_t_ const gme_hes_type_ = { "PC Engine", 256, &new_hes_emu, &new_hes_file, "HES", 1 }
BLARGG_EXPORT gme_type_t const gme_hes_type = &gme_hes_type_

Function Documentation

◆ adjust_time()

void adjust_time ( blargg_long & time,
hes_time_t delta )
static

◆ check_hes_header()

blargg_err_t check_hes_header ( void const * header)
static

◆ copy_field()

byte const * copy_field ( byte const * in,
char * out )
static

◆ copy_hes_fields()

void copy_hes_fields ( byte const * in,
track_info_t * out )
static

◆ new_hes_emu()

Music_Emu * new_hes_emu ( )
static

◆ new_hes_file()

Music_Emu * new_hes_file ( )
static

Variable Documentation

◆ gme_hes_type

BLARGG_EXPORT gme_type_t const gme_hes_type = &gme_hes_type_
extern

◆ gme_hes_type_

gme_type_t_ const gme_hes_type_ = { "PC Engine", 256, &new_hes_emu, &new_hes_file, "HES", 1 }
static

◆ i_flag_mask

int const i_flag_mask = 0x04

◆ period_60hz

long const period_60hz = 262 * 455L

◆ timer_mask

int const timer_mask = 0x04

◆ unmapped

int const unmapped = 0xFF

◆ vdp_mask

int const vdp_mask = 0x02