From f1aa73d511302a2723ecd5928e446fe1c160b367 Mon Sep 17 00:00:00 2001 From: gocha Date: Sun, 31 May 2009 06:45:45 +0000 Subject: [PATCH] 59.8261 or 33513982/(6*355*263)? I'm not sure which has less audio-desync, anyway I commented out the alternative framerate for now. (no behavior changes) --- desmume/src/windows/aviout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desmume/src/windows/aviout.cpp b/desmume/src/windows/aviout.cpp index a3892c7db..5493e635c 100644 --- a/desmume/src/windows/aviout.cpp +++ b/desmume/src/windows/aviout.cpp @@ -231,8 +231,8 @@ static int avi_open(const char* filename, const BITMAPINFOHEADER* pbmih, const W memset(&avi_file->avi_video_header, 0, sizeof(AVISTREAMINFO)); avi_file->avi_video_header.fccType = streamtypeVIDEO; - avi_file->avi_video_header.dwScale = 65536*256; - avi_file->avi_video_header.dwRate = (int)(59.8261*65536*256); + avi_file->avi_video_header.dwScale = 65536*256 // 6*355*263; + avi_file->avi_video_header.dwRate = (int)(59.8261*65536*256); // 33513982; avi_file->avi_video_header.dwSuggestedBufferSize = avi_file->bitmap_format.biSizeImage; if(FAILED(AVIFileCreateStream(avi_file->avi_file, &avi_file->streams[VIDEO_STREAM], &avi_file->avi_video_header))) break;