diff src/console/Spc_Dsp.cxx @ 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_Dsp.cxx	Wed Dec 06 07:57:05 2006 -0800
+++ b/src/console/Spc_Dsp.cxx	Thu Dec 07 15:20:41 2006 -0800
@@ -1,4 +1,4 @@
-// Game_Music_Emu 0.5.1. http://www.slack.net/~ant/
+// Game_Music_Emu 0.5.2. http://www.slack.net/~ant/
 
 // Based on Brad Martin's OpenSPC DSP emulator
 
@@ -31,7 +31,8 @@
 	mute_voices( 0 );
 	disable_surround( false );
 	
-	BOOST_STATIC_ASSERT( sizeof (g) == register_count && sizeof (voice) == register_count );
+	assert( offsetof (globals_t,unused9 [2]) == register_count );
+	assert( sizeof (voice) == register_count );
 	blargg_verify_byte_order();
 }