Commit Graph

54 Commits (894aada3d255c5777e8b4e65c8a1c2ee4bdb0186)

Author SHA1 Message Date
Christopher Snowhill 326e9d5970 GME: Fix music playback with no fade from crashing
Only crashed with division by zero error on Intel, not on Apple Silicon.
Funny that. Sending the fix upstream, too.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-01-29 16:26:28 -08:00
Christopher Snowhill e4e6da1a94 Clean up new GME somewhat 2022-01-04 03:42:18 -08:00
Christopher Snowhill fc38295d02 Replaced Game_Music_Emu with mpyne version, for the most part. Re-added the missing NSF chips, replaced the SPC player with the Higan one, re-added SFM, and disabled GYM and VGM. 2022-01-03 17:50:07 -08:00
Christopher Snowhill 13bd399b31 Clean up most warnings and update some dependencies 2021-04-29 18:16:24 -07:00
Christopher Snowhill 5fbf722f29 Fix NSF player to support N163 waveform lengths like the real thing 2020-03-24 01:11:02 -07:00
Christopher Snowhill e59a9e1ed9 Fix external M3U decimal index handling. 2018-07-22 02:07:19 -07:00
Christopher Snowhill 67495009ff Updates for new build system. 2018-06-28 04:03:37 -07:00
Christopher Snowhill 628697f4b0 Forgot to initialize a few things, fixes echo in SPC files. 2017-07-19 11:59:54 -07:00
Christopher Snowhill 428f7e14d2 More 6502 opcodes. 2017-07-08 22:23:22 -07:00
Christopher Snowhill 8a2c48bbda Fix for new GME code. 2017-03-12 21:38:00 -07:00
Christopher Snowhill c594690aab Update GME, including support for tag-specified fade times for formats which support it, which are SPC and SFM. 2017-03-12 21:10:35 -07:00
Chris Moeller a2e5d1da4f Fix double-free in GME when using MSX Audio. 2016-09-16 02:48:10 -07:00
Christopher Snowhill 1dab2b6d27 Support GBS version 2? 2016-08-04 18:54:57 -07:00
Chris Moeller 5006d05222 Fix a VGM crash when loading unsupported files. 2016-07-02 17:08:41 -07:00
Chris Moeller 7bb722cdec Updated VGMPlay. 2016-07-02 02:57:36 -07:00
Chris Moeller 7903c0e371 Fixed compilation error 2016-04-12 21:45:28 -07:00
Chris Moeller f10fa14668 Updated Game_Music_Emu with changes that don't currently affect playback. 2016-03-17 17:15:45 -07:00
Chris Moeller dd5c25c125 GME: Fix incorrect length reporting for VGM files, caused by an uninitialized variable. 2016-02-10 17:52:28 -08:00
Chris Moeller 8533dde6dd Fixed GME/VGMPlay metadata retrieval during playback, which fixes song lengths. 2016-02-09 22:20:00 -08:00
Chris Moeller 09e546591a Updated Game_Music_Emu to latest VGMPlay branch 2015-11-27 02:02:41 -08:00
Chris Moeller dfed1a3814 Fixed Sap_File song length reporting, even though it doesn't affect Cog 2015-03-10 21:22:04 -07:00
Chris Moeller 8c6f1fa152 Remove GB DMG hacks that were a poor attempt to mimic vgmplay 2015-01-27 19:11:40 -08:00
Chris Moeller 4acbb21f99 Updated Game_Music_Emu to support Game Boy DMG sound in VGM files 2014-11-02 18:28:28 -08:00
Chris Moeller 704f04b8ce Fixed stupid errors compiling with Xcode 5.1 2014-03-10 22:06:48 -07:00
Chris Moeller 85cc09e07f Updated and fixed VGM OKIM6258 support from VGMPlay 0.40.4 2014-02-24 16:38:46 -08:00
Chris Moeller c6529888fd Hard limit only if output would clip, and use a table for up to 2x volume level 2013-10-31 18:20:58 -07:00
Chris Moeller 355df0b3b0 Fixed GME track length limiting when seeking backwards 2013-10-31 17:35:18 -07:00
Chris Moeller 2cfdacf890 Added a hard limiter to SPC playback instead 2013-10-30 17:58:29 -07:00
Chris Moeller a02bc5000b Reduced SPC/SFM gain to 1.0, as a number of SPC files are too loud 2013-10-30 17:32:11 -07:00
Chris Moeller ee5821b45d Fixed SFM writing 2013-10-28 23:17:14 -07:00
Chris Moeller bb0f0ed511 GME: Implemented functionality to update the metadata on an instance of gme_t, for SFM only. Also extended the SFM metadata to include log looping, track length/fade, and textual information. 2013-10-28 21:55:13 -07:00
Chris Moeller 9b7b8d5fd7 Fixed disassembler for MSVC 2013-10-27 15:21:51 -07:00
Chris Moeller 0a2dd30a51 Run SMP and DSP in less of a lockstep arrangement 2013-10-27 15:00:13 -07:00
Chris Moeller 9211827957 Removed unnecessary parentheses that I added 2013-10-27 13:25:23 -07:00
Chris Moeller 749ee9845c Seriously cut back on the crap with the SPC disassembler 2013-10-27 13:14:02 -07:00
Chris Moeller 969ec470e4 Implemented the SMP disassembler, for debugging purposes 2013-10-27 05:42:03 -07:00
Chris Moeller 031f36524e Added SMP ports to the SFM state, for keeping the last state of the ports in the event that the register log has or will run empty 2013-10-26 15:26:00 -07:00
Chris Moeller 2b40e87fee Yes, the SPC control register is supposed to clear its read ports, but SPC files aren't supposed to trigger that with their initial control register 2013-10-26 15:25:06 -07:00
Chris Moeller fb07d985ea Simplified SPC register initialization and eliminated an unnecessary function 2013-10-26 14:47:36 -07:00
Chris Moeller ec58587742 Yeah, byuu had SMP control port reset right the first time, I misinterpreted some other emulator code 2013-10-26 13:08:12 -07:00
Chris Moeller 4be3186b4c Implemented SPC/SFM tempo control, which the GME plugin doesn't use anyway 2013-10-26 11:12:50 -07:00
Chris Moeller c07a38e59c Eliminated an extra 64 sample skip from seeking when playing at the native sample rate 2013-10-26 10:31:03 -07:00
Chris Moeller be33e61644 Fixed SPC/SFM seeking 2013-10-26 10:30:36 -07:00
Chris Moeller 2aa6ee4378 Removed unnecessary files 2013-10-26 10:29:57 -07:00
Chris Moeller b8b93103bf Added saving capability to GME, currently only supported by SFM 2013-10-26 09:00:59 -07:00
Chris Moeller 49326f5492 Correctly use string::npos 2013-10-26 05:25:14 -07:00
Chris Moeller 0f4109284a Cleaned up some of Game_Music_Emu 2013-10-26 03:18:31 -07:00
Chris Moeller cae86b582f Replaced snes_spc with higan accurate core, and enabled SFM support 2013-10-26 01:54:06 -07:00
Chris Moeller 54349ba1f2 Added fade length to C API 2013-10-04 13:33:14 -07:00
Chris Moeller ec0e45381e Cleaned up most of the warnings, eliminated use of deprecated APIs, and fixed the hotkeys crashing. 2013-10-03 01:00:58 -07:00