diff src/console/Nes_Vrc6_Apu.cxx @ 341:986f098da058 trunk

[svn] - merge in blargg's changes
author nenolod
date Thu, 07 Dec 2006 15:20:41 -0800
parents fb513e10174e
children
line wrap: on
line diff
--- a/src/console/Nes_Vrc6_Apu.cxx	Wed Dec 06 07:57:05 2006 -0800
+++ b/src/console/Nes_Vrc6_Apu.cxx	Thu Dec 07 15:20:41 2006 -0800
@@ -72,6 +72,7 @@
 
 void Nes_Vrc6_Apu::save_state( vrc6_apu_state_t* out ) const
 {
+	assert( sizeof (vrc6_apu_state_t) == 20 );
 	out->saw_amp = oscs [2].amp;
 	for ( int i = 0; i < osc_count; i++ )
 	{