diff --git a/libs/gme/CMakeLists.txt b/libs/gme/CMakeLists.txt index 6b352102d..2ec00f00f 100644 --- a/libs/gme/CMakeLists.txt +++ b/libs/gme/CMakeLists.txt @@ -1,106 +1,94 @@ -# CMake project definition file. -project(libgme) - -include (CheckCXXCompilerFlag) - -# When version is changed, also change the one in gme/gme.h to match -set(GME_VERSION 0.6.3 CACHE INTERNAL "libgme Version") - -# 2.6+ always assumes FATAL_ERROR, but 2.4 and below don't. -# Of course, 2.4 might work, in which case you're welcome to drop -# down the requirement, but I can't test that. -cmake_minimum_required(VERSION 2.6 FATAL_ERROR) - -# Default emulators to build (all of them! ;) -if (NOT DEFINED USE_GME_AY) - SET(USE_GME_AY 1 CACHE BOOL "Enable support for Spectrum ZX music emulation") -endif() - -if (NOT DEFINED USE_GME_GBS) - SET(USE_GME_GBS 1 CACHE BOOL "Enable support for Game Boy music emulation") -endif() - -if (NOT DEFINED USE_GME_GYM) - SET(USE_GME_GYM 1 CACHE BOOL "Enable Sega MegaDrive/Genesis music emulation") -endif() - -if (NOT DEFINED USE_GME_HES) - SET(USE_GME_HES 1 CACHE BOOL "Enable PC Engine/TurboGrafx-16 music emulation") -endif() - -if (NOT DEFINED USE_GME_KSS) - SET(USE_GME_KSS 1 CACHE BOOL "Enable MSX or other Z80 systems music emulation") -endif() - -if (NOT DEFINED USE_GME_NSF) - SET(USE_GME_NSF 1 CACHE BOOL "Enable NES NSF music emulation") -endif() - -if (NOT DEFINED USE_GME_NSFE) - SET(USE_GME_NSFE 1 CACHE BOOL "Enable NES NSFE and NSF music emulation") -endif() - -if (NOT DEFINED USE_GME_SAP) - SET(USE_GME_SAP 1 CACHE BOOL "Enable Atari SAP music emulation") -endif() - -if (NOT DEFINED USE_GME_SPC) - SET(USE_GME_SPC 1 CACHE BOOL "Enable SNES SPC music emulation") -endif() - -if (NOT DEFINED GME_SPC_ISOLATED_ECHO_BUFFER) - option(GME_SPC_ISOLATED_ECHO_BUFFER "Enable isolated echo buffer on SPC emulator to allow correct playing of \"dodgy\" SPC files made for various ROM hacks ran on ZSNES" OFF) -endif() - -if (NOT DEFINED USE_GME_VGM) - SET(USE_GME_VGM 1 CACHE BOOL "Enable Sega VGM/VGZ music emulation") -endif() - -if (NOT DEFINED GME_YM2612_EMU) - SET(GME_YM2612_EMU "Nuked" CACHE STRING "Which YM2612 emulator to use: \"Nuked\" (LGPLv2.1+), \"MAME\" (GPLv2+), or \"GENS\" (LGPLv2.1+)") -endif() - -if (USE_GME_NSFE AND NOT USE_GME_NSF) - MESSAGE(" -- NSFE support requires NSF, enabling NSF support. --") - SET(USE_GME_NSF 1 CACHE BOOL "Enable NES NSF music emulation" FORCE) -endif() - -option(BUILD_SHARED_LIBS "Build shared library (set to OFF for static library)" ON) - -option(ENABLE_UBSAN "Enable Undefined Behavior Sanitizer error-checking" ON) - -option(BUILD_FRAMEWORK "Build framework instead of dylib (on macOS)" OFF) - -# Check for GCC/Clang "visibility" support. -if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" - OR - CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -W -Wextra") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") - - # Assume we have visibility support on any compiler that supports C++11 - add_definitions (-DLIBGME_VISIBILITY) - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden -fvisibility-inlines-hidden") - - # Try to protect against undefined behavior from signed integer overflow - # This has caused miscompilation of code already and there are other - # potential uses; see https://bitbucket.org/mpyne/game-music-emu/issues/18/ - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fwrapv") - - if (ENABLE_UBSAN) - # GCC needs -static-libubsan - if (NOT BUILD_SHARED_LIBS AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined -static-libubsan") - else() - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined") - endif() - endif() -endif () - -# Shared library defined here -add_subdirectory(gme) - -# EXCLUDE_FROM_ALL adds build rules but keeps it out of default build -add_subdirectory(player EXCLUDE_FROM_ALL) -add_subdirectory(demo EXCLUDE_FROM_ALL) +# CMake project definition file. +project(libgme) + +include (CheckCXXCompilerFlag) + +# When version is changed, also change the one in gme/gme.h to match +set(GME_VERSION 0.6.2 CACHE INTERNAL "libgme Version") + +# 2.6+ always assumes FATAL_ERROR, but 2.4 and below don't. +# Of course, 2.4 might work, in which case you're welcome to drop +# down the requirement, but I can't test that. +cmake_minimum_required(VERSION 2.6 FATAL_ERROR) + +# Default emulators to build (all of them! ;) +if (NOT DEFINED USE_GME_AY) + SET(USE_GME_AY 1 CACHE BOOL "Enable support for Spectrum ZX music emulation") +endif() + +if (NOT DEFINED USE_GME_GBS) + SET(USE_GME_GBS 1 CACHE BOOL "Enable support for Game Boy music emulation") +endif() + +if (NOT DEFINED USE_GME_GYM) + SET(USE_GME_GYM 1 CACHE BOOL "Enable Sega MegaDrive/Genesis music emulation") +endif() + +if (NOT DEFINED USE_GME_HES) + SET(USE_GME_HES 1 CACHE BOOL "Enable PC Engine/TurboGrafx-16 music emulation") +endif() + +if (NOT DEFINED USE_GME_KSS) + SET(USE_GME_KSS 1 CACHE BOOL "Enable MSX or other Z80 systems music emulation") +endif() + +if (NOT DEFINED USE_GME_NSF) + SET(USE_GME_NSF 1 CACHE BOOL "Enable NES NSF music emulation") +endif() + +if (NOT DEFINED USE_GME_NSFE) + SET(USE_GME_NSFE 1 CACHE BOOL "Enable NES NSFE and NSF music emulation") +endif() + +if (NOT DEFINED USE_GME_SAP) + SET(USE_GME_SAP 1 CACHE BOOL "Enable Atari SAP music emulation") +endif() + +if (NOT DEFINED USE_GME_SPC) + SET(USE_GME_SPC 1 CACHE BOOL "Enable SNES SPC music emulation") +endif() + +if (NOT DEFINED USE_GME_VGM) + SET(USE_GME_VGM 1 CACHE BOOL "Enable Sega VGM/VGZ music emulation") +endif() + +if (USE_GME_NSFE AND NOT USE_GME_NSF) + MESSAGE(" -- NSFE support requires NSF, enabling NSF support. --") + SET(USE_GME_NSF 1 CACHE BOOL "Enable NES NSF music emulation" FORCE) +endif() + +option(BUILD_SHARED_LIBS "Build shared library (set to OFF for static library)" ON) + +# Check for GCC "visibility" support. +if (CMAKE_COMPILER_IS_GNUCXX) + check_cxx_compiler_flag (-fvisibility=hidden __LIBGME_TEST_VISIBILITY) + set (ENABLE_VISIBILITY OFF) + if (__LIBGME_TEST_VISIBILITY) + # get the gcc version + exec_program(${CMAKE_CXX_COMPILER} ARGS --version OUTPUT_VARIABLE _gcc_version_info) + string (REGEX MATCH "[3-9]\\.[0-9]\\.[0-9]" _gcc_version "${_gcc_version_info}") + + # gcc <4.1 had poor support for symbol visibility + if ((${_gcc_version} VERSION_GREATER "4.1") OR (${_gcc_version} VERSION_EQUAL "4.1")) + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden") + set (ENABLE_VISIBILITY ON) + add_definitions (-DLIBGME_VISIBILITY) + + # GCC >= 4.2 also correctly supports making inline members have hidden + # visibility by default. + if ((${_gcc_version} VERSION_GREATER "4.2") OR (${_gcc_version} VERSION_EQUAL "4.2")) + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden") + endif() + endif() + endif() # test visibility + + # Cache this result + set( LIBGME_HAVE_GCC_VISIBILITY ${ENABLE_VISIBILITY} CACHE BOOL "GCC support for hidden visibility") +endif (CMAKE_COMPILER_IS_GNUCXX) + +# Shared library defined here +add_subdirectory(gme) + +# EXCLUDE_FROM_ALL adds build rules but keeps it out of default build +add_subdirectory(player EXCLUDE_FROM_ALL) +add_subdirectory(demo EXCLUDE_FROM_ALL) diff --git a/libs/gme/gme.txt b/libs/gme/gme.txt index 855ee8200..b3bcdb255 100644 --- a/libs/gme/gme.txt +++ b/libs/gme/gme.txt @@ -1,4 +1,4 @@ -Game_Music_Emu 0.6.3 +Game_Music_Emu 0.6.2 -------------------- Author : Shay Green Maintainer : Michael Pyne diff --git a/libs/gme/include/gme/gme.h b/libs/gme/include/gme/gme.h index 133f53b45..cb07061b4 100644 --- a/libs/gme/include/gme/gme.h +++ b/libs/gme/include/gme/gme.h @@ -1,16 +1,14 @@ /* Game music emulator library C interface (also usable from C++) */ -/* Game_Music_Emu 0.6.3 */ +/* Game_Music_Emu 0.6.1 */ #ifndef GME_H #define GME_H -#include "blargg_source.h" - #ifdef __cplusplus extern "C" { #endif -#define GME_VERSION 0x000603 /* 1 byte major, 1 byte minor, 1 byte patch-level */ +#define GME_VERSION 0x000601 /* 1 byte major, 1 byte minor, 1 byte patch-level */ /* Error string returned by library functions, or NULL if no error (success) */ typedef const char* gme_err_t; @@ -22,60 +20,41 @@ typedef struct Music_Emu Music_Emu; /******** Basic operations ********/ /* Create emulator and load game music file/data into it. Sets *out to new emulator. */ -BLARGG_EXPORT gme_err_t gme_open_file( const char path [], Music_Emu** out, int sample_rate ); +gme_err_t gme_open_file( const char path [], Music_Emu** out, int sample_rate ); /* Number of tracks available */ -BLARGG_EXPORT int gme_track_count( Music_Emu const* ); +int gme_track_count( Music_Emu const* ); /* Start a track, where 0 is the first track */ -BLARGG_EXPORT gme_err_t gme_start_track( Music_Emu*, int index ); +gme_err_t gme_start_track( Music_Emu*, int index ); /* Generate 'count' 16-bit signed samples info 'out'. Output is in stereo. */ -BLARGG_EXPORT gme_err_t gme_play( Music_Emu*, int count, short out [] ); +gme_err_t gme_play( Music_Emu*, int count, short out [] ); /* Finish using emulator and free memory */ -BLARGG_EXPORT void gme_delete( Music_Emu* ); +void gme_delete( Music_Emu* ); /******** Track position/length ********/ /* Set time to start fading track out. Once fade ends track_ended() returns true. Fade time can be changed while track is playing. */ -BLARGG_EXPORT void gme_set_fade( Music_Emu*, int start_msec ); - -/** - * If do_autoload_limit is nonzero, then automatically load track length - * metadata (if present) and terminate playback once the track length has been - * reached. Otherwise playback will continue for an arbitrary period of time - * until a prolonged period of silence is detected. - * - * Not all individual emulators support this setting. - * - * By default, playback limits are loaded and applied. - * - * @since 0.6.2 - */ -BLARGG_EXPORT void gme_set_autoload_playback_limit( Music_Emu *, int do_autoload_limit ); - -/** See gme_set_autoload_playback_limit. - * @since 0.6.2 - */ -BLARGG_EXPORT int gme_autoload_playback_limit( Music_Emu const* ); +void gme_set_fade( Music_Emu*, int start_msec ); /* True if a track has reached its end */ -BLARGG_EXPORT int gme_track_ended( Music_Emu const* ); +int gme_track_ended( Music_Emu const* ); /* Number of milliseconds (1000 = one second) played since beginning of track */ -BLARGG_EXPORT int gme_tell( Music_Emu const* ); +int gme_tell( Music_Emu const* ); /* Number of samples generated since beginning of track */ -BLARGG_EXPORT int gme_tell_samples( Music_Emu const* ); +int gme_tell_samples( Music_Emu const* ); /* Seek to new time in track. Seeking backwards or far forward can take a while. */ -BLARGG_EXPORT gme_err_t gme_seek( Music_Emu*, int msec ); +gme_err_t gme_seek( Music_Emu*, int msec ); /* Equivalent to restarting track then skipping n samples */ -BLARGG_EXPORT gme_err_t gme_seek_samples( Music_Emu*, int n ); +gme_err_t gme_seek_samples( Music_Emu*, int n ); /******** Informational ********/ @@ -86,24 +65,24 @@ enum { gme_info_only = -1 }; /* Most recent warning string, or NULL if none. Clears current warning after returning. Warning is also cleared when loading a file and starting a track. */ -BLARGG_EXPORT const char* gme_warning( Music_Emu* ); +const char* gme_warning( Music_Emu* ); /* Load m3u playlist file (must be done after loading music) */ -BLARGG_EXPORT gme_err_t gme_load_m3u( Music_Emu*, const char path [] ); +gme_err_t gme_load_m3u( Music_Emu*, const char path [] ); /* Clear any loaded m3u playlist and any internal playlist that the music format supports (NSFE for example). */ -BLARGG_EXPORT void gme_clear_playlist( Music_Emu* ); +void gme_clear_playlist( Music_Emu* ); /* Gets information for a particular track (length, name, author, etc.). Must be freed after use. */ typedef struct gme_info_t gme_info_t; -BLARGG_EXPORT gme_err_t gme_track_info( Music_Emu const*, gme_info_t** out, int track ); +gme_err_t gme_track_info( Music_Emu const*, gme_info_t** out, int track ); /* Frees track information */ -BLARGG_EXPORT void gme_free_info( gme_info_t* ); +void gme_free_info( gme_info_t* ); -struct BLARGG_EXPORT gme_info_t +struct gme_info_t { /* times in milliseconds; -1 if unknown */ int length; /* total length, if file specifies it */ @@ -133,32 +112,32 @@ struct BLARGG_EXPORT gme_info_t /* Adjust stereo echo depth, where 0.0 = off and 1.0 = maximum. Has no effect for GYM, SPC, and Sega Genesis VGM music */ -BLARGG_EXPORT void gme_set_stereo_depth( Music_Emu*, double depth ); +void gme_set_stereo_depth( Music_Emu*, double depth ); /* Disable automatic end-of-track detection and skipping of silence at beginning if ignore is true */ -BLARGG_EXPORT void gme_ignore_silence( Music_Emu*, int ignore ); +void gme_ignore_silence( Music_Emu*, int ignore ); /* Adjust song tempo, where 1.0 = normal, 0.5 = half speed, 2.0 = double speed. Track length as returned by track_info() assumes a tempo of 1.0. */ -BLARGG_EXPORT void gme_set_tempo( Music_Emu*, double tempo ); +void gme_set_tempo( Music_Emu*, double tempo ); /* Number of voices used by currently loaded file */ -BLARGG_EXPORT int gme_voice_count( Music_Emu const* ); +int gme_voice_count( Music_Emu const* ); /* Name of voice i, from 0 to gme_voice_count() - 1 */ -BLARGG_EXPORT const char* gme_voice_name( Music_Emu const*, int i ); +const char* gme_voice_name( Music_Emu const*, int i ); /* Mute/unmute voice i, where voice 0 is first voice */ -BLARGG_EXPORT void gme_mute_voice( Music_Emu*, int index, int mute ); +void gme_mute_voice( Music_Emu*, int index, int mute ); /* Set muting state of all voices at once using a bit mask, where -1 mutes all voices, 0 unmutes them all, 0x01 mutes just the first voice, etc. */ -BLARGG_EXPORT void gme_mute_voices( Music_Emu*, int muting_mask ); +void gme_mute_voices( Music_Emu*, int muting_mask ); /* Frequency equalizer parameters (see gme.txt) */ /* Implementers: If modified, also adjust Music_Emu::make_equalizer as needed */ -typedef struct BLARGG_EXPORT gme_equalizer_t +typedef struct gme_equalizer_t { double treble; /* -50.0 = muffled, 0 = flat, +5.0 = extra-crisp */ double bass; /* 1 = full bass, 90 = average, 16000 = almost no bass */ @@ -167,13 +146,13 @@ typedef struct BLARGG_EXPORT gme_equalizer_t } gme_equalizer_t; /* Get current frequency equalizater parameters */ -BLARGG_EXPORT void gme_equalizer( Music_Emu const*, gme_equalizer_t* out ); +void gme_equalizer( Music_Emu const*, gme_equalizer_t* out ); /* Change frequency equalizer parameters */ -BLARGG_EXPORT void gme_set_equalizer( Music_Emu*, gme_equalizer_t const* eq ); +void gme_set_equalizer( Music_Emu*, gme_equalizer_t const* eq ); /* Enables/disables most accurate sound emulation options */ -BLARGG_EXPORT void gme_enable_accuracy( Music_Emu*, int enabled ); +void gme_enable_accuracy( Music_Emu*, int enabled ); /******** Game music types ********/ @@ -182,7 +161,7 @@ BLARGG_EXPORT void gme_enable_accuracy( Music_Emu*, int enabled ); typedef const struct gme_type_t_* gme_type_t; /* Emulator type constants for each supported file type */ -extern BLARGG_EXPORT const gme_type_t +extern const gme_type_t gme_ay_type, gme_gbs_type, gme_gym_type, @@ -196,89 +175,69 @@ extern BLARGG_EXPORT const gme_type_t gme_vgz_type; /* Type of this emulator */ -BLARGG_EXPORT gme_type_t gme_type( Music_Emu const* ); +gme_type_t gme_type( Music_Emu const* ); /* Pointer to array of all music types, with NULL entry at end. Allows a player linked to this library to support new music types without having to be updated. */ -BLARGG_EXPORT gme_type_t const* gme_type_list(); +gme_type_t const* gme_type_list(); /* Name of game system for this music file type */ -BLARGG_EXPORT const char* gme_type_system( gme_type_t ); +const char* gme_type_system( gme_type_t ); /* True if this music file type supports multiple tracks */ -BLARGG_EXPORT int gme_type_multitrack( gme_type_t ); +int gme_type_multitrack( gme_type_t ); -/* whether the pcm output retrieved by gme_play() will have all 8 voices rendered to their - * individual stereo channel or (if false) these voices get mixed into one single stereo channel - * @since 0.6.2 */ -BLARGG_EXPORT int gme_multi_channel( Music_Emu const* ); /******** Advanced file loading ********/ /* Error returned if file type is not supported */ -extern BLARGG_EXPORT const char* const gme_wrong_file_type; +extern const char* const gme_wrong_file_type; -/* Same as gme_open_file(), but uses file data already in memory. Makes copy of data. - * The resulting Music_Emu object will be set to single channel mode. */ -BLARGG_EXPORT gme_err_t gme_open_data( void const* data, long size, Music_Emu** out, int sample_rate ); +/* Same as gme_open_file(), but uses file data already in memory. Makes copy of data. */ +gme_err_t gme_open_data( void const* data, long size, Music_Emu** out, int sample_rate ); /* Determine likely game music type based on first four bytes of file. Returns string containing proper file suffix (i.e. "NSF", "SPC", etc.) or "" if file header is not recognized. */ -BLARGG_EXPORT const char* gme_identify_header( void const* header ); +const char* gme_identify_header( void const* header ); /* Get corresponding music type for file path or extension passed in. */ -BLARGG_EXPORT gme_type_t gme_identify_extension( const char path_or_extension [] ); - -/** - * Get typical file extension for a given music type. This is not a replacement - * for a file content identification library (but see gme_identify_header). - * - * @since 0.6.2 - */ -BLARGG_EXPORT const char* gme_type_extension( gme_type_t music_type ); +gme_type_t gme_identify_extension( const char path_or_extension [] ); /* Determine file type based on file's extension or header (if extension isn't recognized). Sets *type_out to type, or 0 if unrecognized or error. */ -BLARGG_EXPORT gme_err_t gme_identify_file( const char path [], gme_type_t* type_out ); +gme_err_t gme_identify_file( const char path [], gme_type_t* type_out ); /* Create new emulator and set sample rate. Returns NULL if out of memory. If you only need track information, pass gme_info_only for sample_rate. */ -BLARGG_EXPORT Music_Emu* gme_new_emu( gme_type_t, int sample_rate ); - -/* Create new multichannel emulator and set sample rate. Returns NULL if out of memory. - * If you only need track information, pass gme_info_only for sample_rate. - * (see gme_multi_channel for more information on multichannel support) - * @since 0.6.2 - */ -BLARGG_EXPORT Music_Emu* gme_new_emu_multi_channel( gme_type_t, int sample_rate ); +Music_Emu* gme_new_emu( gme_type_t, int sample_rate ); /* Load music file into emulator */ -BLARGG_EXPORT gme_err_t gme_load_file( Music_Emu*, const char path [] ); +gme_err_t gme_load_file( Music_Emu*, const char path [] ); /* Load music file from memory into emulator. Makes a copy of data passed. */ -BLARGG_EXPORT gme_err_t gme_load_data( Music_Emu*, void const* data, long size ); +gme_err_t gme_load_data( Music_Emu*, void const* data, long size ); /* Load music file using custom data reader function that will be called to read file data. Most emulators load the entire file in one read call. */ typedef gme_err_t (*gme_reader_t)( void* your_data, void* out, int count ); -BLARGG_EXPORT gme_err_t gme_load_custom( Music_Emu*, gme_reader_t, long file_size, void* your_data ); +gme_err_t gme_load_custom( Music_Emu*, gme_reader_t, long file_size, void* your_data ); /* Load m3u playlist file from memory (must be done after loading music) */ -BLARGG_EXPORT gme_err_t gme_load_m3u_data( Music_Emu*, void const* data, long size ); +gme_err_t gme_load_m3u_data( Music_Emu*, void const* data, long size ); /******** User data ********/ /* Set/get pointer to data you want to associate with this emulator. You can use this for whatever you want. */ -BLARGG_EXPORT void gme_set_user_data( Music_Emu*, void* new_user_data ); -BLARGG_EXPORT void* gme_user_data( Music_Emu const* ); +void gme_set_user_data( Music_Emu*, void* new_user_data ); +void* gme_user_data( Music_Emu const* ); /* Register cleanup function to be called when deleting emulator, or NULL to clear it. Passes user_data to cleanup function. */ typedef void (*gme_user_cleanup_t)( void* user_data ); -BLARGG_EXPORT void gme_set_user_cleanup( Music_Emu*, gme_user_cleanup_t func ); +void gme_set_user_cleanup( Music_Emu*, gme_user_cleanup_t func ); #ifdef __cplusplus diff --git a/libs/gme/readme.txt b/libs/gme/readme.txt index 4dffbfbeb..1ebadf6d4 100644 --- a/libs/gme/readme.txt +++ b/libs/gme/readme.txt @@ -1,4 +1,4 @@ -Game_Music_Emu 0.6.3: Game Music Emulators +Game_Music_Emu 0.6.2: Game Music Emulators ------------------------------------------ Game_Music_Emu is a collection of video game music file emulators that support the following formats and systems: @@ -37,9 +37,6 @@ Author : Shay Green Website: https://bitbucket.org/mpyne/game-music-emu/wiki/Home License: GNU Lesser General Public License (LGPL) -Note: When you will use MAME YM2612 emulator, the license of library -will be GNU General Public License (GPL) v2.0+! - Current Maintainer: Michael Pyne Getting Started @@ -193,13 +190,8 @@ gme/ Sms_Apu.cpp Common Sega emulator files Sms_Apu.h Sms_Oscs.h + Ym2612_Emu.cpp Ym2612_Emu.h - Ym2612_GENS.cpp GENS 2.10 YM2612 emulator (LGPLv2.1+ license) - Ym2612_GENS.h - Ym2612_MAME.cpp MAME YM2612 emulator (GPLv2.0+ license) - Ym2612_MAME.h - Ym2612_Nuked.cpp Nuked OPN2 emulator (LGPLv2.1+ license) - Ym2612_Nuked.h Dual_Resampler.cpp Dual_Resampler.h Fir_Resampler.cpp @@ -226,7 +218,7 @@ gme/ Multi_Buffer.cpp Data_Reader.h Data_Reader.cpp - + CMakeLists.txt CMake build rules @@ -234,8 +226,6 @@ Legal ----- Game_Music_Emu library copyright (C) 2003-2009 Shay Green. Sega Genesis YM2612 emulator copyright (C) 2002 Stephane Dallongeville. -MAME YM2612 emulator copyright (C) 2003 Jarek Burczynski, Tatsuyuki Satoh -Nuked OPN2 emulator copyright (C) 2017 Alexey Khokholov (Nuke.YKT) -- Shay Green diff --git a/libs/gme/win32/libgme.dll.a b/libs/gme/win32/libgme.dll.a index 89fd1d260..2c5e95853 100644 Binary files a/libs/gme/win32/libgme.dll.a and b/libs/gme/win32/libgme.dll.a differ diff --git a/libs/gme/win64/libgme.dll.a b/libs/gme/win64/libgme.dll.a index 2e96dcef4..8348f12de 100644 Binary files a/libs/gme/win64/libgme.dll.a and b/libs/gme/win64/libgme.dll.a differ