win32 stuff, SIMPLE_WRITE_SOUND
[picodrive.git] / platform / win32 / GenaDrive / Loop.cpp
index 305c27d..b4b3eec 100644 (file)
@@ -13,11 +13,11 @@ int LoopInit()
   // bits LSb->MSb:\r
   // enable_ym2612&dac, enable_sn76496, enable_z80, stereo_sound;\r
   // alt_renderer, 6button_gamepad, accurate_timing, accurate_sprites\r
-  PicoOpt=0xbccf;\r
+  PicoOpt=0xbcc7;\r
   PsndRate=44100;\r
 \r
   // Init Direct3D:\r
-  ret=DirectInit(); if (ret) { error("Direct3D init failed"); return 1; }\r
+  ret=DirectInit(); if (ret) { error("DirectX video init failed"); return 1; }\r
   InputInit();\r
 \r
   // Init DirectSound:\r
@@ -108,7 +108,7 @@ static int ModeUpdate()
 \r
   if (LoopMode==8) { DoGame(); return 0; }\r
 \r
-  if (DSoundNext) memset(DSoundNext,0,PsndLen<<2);\r
+//  if (DSoundNext) memset(DSoundNext,0,PsndLen<<2);\r
 \r
 //  if (LoopMode==2) { FileMenu.scan(); LoopMode++; return 0; }\r
 //  if (LoopMode==3) { MenuUpdate(); return 0; }\r