Skip to content

Commit

Permalink
Added version string
Browse files Browse the repository at this point in the history
  • Loading branch information
TexZK committed Jun 7, 2020
1 parent 929d305 commit 16da95e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This library aims to emulate the

![Block diagram](doc/block_diagram.png)

The original goal is to contibute to the emulation of the *AdLib Gold* sound
The original goal is to contribute to the emulation of the *AdLib Gold* sound
card, which used such integrated circuit to add surround effects to the audio
output, as heard in the beautiful soundtrack of the *Dune* videogame, made
specifically for that rare sound card.
Expand Down
7 changes: 7 additions & 0 deletions src/YM7128B_emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

// ============================================================================

char const* YM7128B_GetVersion(void)
{
return YM7128B_VERSION;
}

// ============================================================================

signed short const YM7128B_GainDecibel_Table[YM7128B_Gain_Data_Count / 2] =
{
-10000, // -oo
Expand Down
6 changes: 6 additions & 0 deletions src/YM7128B_emu.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ extern "C" {

// ============================================================================

#define YM7128B_VERSION "0.1.0"

char const* YM7128B_GetVersion(void);

// ============================================================================

typedef uint8_t YM7128B_Address; //!< Address data type
typedef uint8_t YM7128B_Register; //!< Register data type
typedef uint16_t YM7128B_Tap; //!< Tap data type
Expand Down

0 comments on commit 16da95e

Please sign in to comment.