mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-05 02:15:07 +01:00
8af85558d0
.added YM2413 context to Master System savestates .removed support for older savestates format (1.3.x, 1.4.x), use 1.5.0 to convert old savestates to new (1.5.x) format
26 lines
655 B
C
26 lines
655 B
C
/*
|
|
**
|
|
** File: ym2413.c - software implementation of YM2413
|
|
** FM sound generator type OPLL
|
|
**
|
|
** Copyright (C) 2002 Jarek Burczynski
|
|
**
|
|
** Version 1.0
|
|
**
|
|
*/
|
|
|
|
#ifndef _H_YM2413_
|
|
#define _H_YM2413_
|
|
|
|
extern void YM2413Init(double clock, int rate);
|
|
extern void YM2413ResetChip(void);
|
|
extern void YM2413Update(long int *buffer, int length);
|
|
extern void YM2413Write(unsigned int a, unsigned int v);
|
|
extern unsigned int YM2413Read(unsigned int a);
|
|
extern unsigned char *YM2413GetContextPtr(void);
|
|
extern unsigned int YM2413GetContextSize(void);
|
|
extern void YM2413Restore(unsigned char *buffer);
|
|
|
|
|
|
#endif /*_H_YM2413_*/
|