OSDN Git Service

[DEBUG][Qt][SDL][SOUND] Do not sound when debugging.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Mon, 13 Apr 2015 20:49:39 +0000 (05:49 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Mon, 13 Apr 2015 20:49:39 +0000 (05:49 +0900)
source/src/qt/common/sdl_sound.cpp

index 05b39d2..3d787a8 100644 (file)
@@ -190,9 +190,9 @@ void EMU::update_sound(int* extra_frames)
 {
        *extra_frames = 0;
 #ifdef USE_DEBUGGER
-//     if(now_debugging) {
-//             return;
-//     }
+       if(now_debugging) {
+               return;
+       }
 #endif
        now_mute = false;