X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fwin32%2FGenaDrive%2FLoop.cpp;h=b4b3eec35b5d7ef217ebfc14c6286007c9c5e9d5;hb=03a265e5ebabff7adbb4f97387f81e9b0428dbee;hp=305c27df55223a8844bf3c0609a8ca7296b488e3;hpb=8831ef19a03770189816740eb2304ad2cb9a07a7;p=picodrive.git diff --git a/platform/win32/GenaDrive/Loop.cpp b/platform/win32/GenaDrive/Loop.cpp index 305c27d..b4b3eec 100644 --- a/platform/win32/GenaDrive/Loop.cpp +++ b/platform/win32/GenaDrive/Loop.cpp @@ -13,11 +13,11 @@ int LoopInit() // bits LSb->MSb: // enable_ym2612&dac, enable_sn76496, enable_z80, stereo_sound; // alt_renderer, 6button_gamepad, accurate_timing, accurate_sprites - PicoOpt=0xbccf; + PicoOpt=0xbcc7; PsndRate=44100; // Init Direct3D: - ret=DirectInit(); if (ret) { error("Direct3D init failed"); return 1; } + ret=DirectInit(); if (ret) { error("DirectX video init failed"); return 1; } InputInit(); // Init DirectSound: @@ -108,7 +108,7 @@ static int ModeUpdate() if (LoopMode==8) { DoGame(); return 0; } - if (DSoundNext) memset(DSoundNext,0,PsndLen<<2); +// if (DSoundNext) memset(DSoundNext,0,PsndLen<<2); // if (LoopMode==2) { FileMenu.scan(); LoopMode++; return 0; } // if (LoopMode==3) { MenuUpdate(); return 0; }