X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fwin32%2FGenaDrive%2FLoop.cpp;h=b19539af9785a7f135bbbc64a44a254941a1c25c;hb=e0978fa87d22f168ea9c039c6e2c5bf1274ba9e0;hp=305c27df55223a8844bf3c0609a8ca7296b488e3;hpb=8831ef19a03770189816740eb2304ad2cb9a07a7;p=picodrive.git diff --git a/platform/win32/GenaDrive/Loop.cpp b/platform/win32/GenaDrive/Loop.cpp index 305c27d..b19539a 100644 --- a/platform/win32/GenaDrive/Loop.cpp +++ b/platform/win32/GenaDrive/Loop.cpp @@ -17,7 +17,7 @@ int LoopInit() 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; }