Mercurial > audlegacy-plugins
diff src/console/Spc_Emu.h @ 341:986f098da058 trunk
[svn] - merge in blargg's changes
author | nenolod |
---|---|
date | Thu, 07 Dec 2006 15:20:41 -0800 |
parents | fb513e10174e |
children | c31e94fefd2a |
line wrap: on
line diff
--- a/src/console/Spc_Emu.h Wed Dec 06 07:57:05 2006 -0800 +++ b/src/console/Spc_Emu.h Thu Dec 07 15:20:41 2006 -0800 @@ -1,6 +1,6 @@ // Super Nintendo SPC music file emulator -// Game_Music_Emu 0.5.1 +// Game_Music_Emu 0.5.2 #ifndef SPC_EMU_H #define SPC_EMU_H @@ -15,6 +15,7 @@ enum { native_sample_rate = 32000 }; // SPC file header + enum { header_size = 0x100 }; struct header_t { char tag [35]; @@ -35,7 +36,6 @@ byte emulator; byte unused2 [46]; }; - BOOST_STATIC_ASSERT( sizeof (header_t) == 0x100 ); // Header for currently loaded file header_t const& header() const { return *(header_t const*) file_data; }