Make sure the audio dump directory exists when dumping audio. Otherwise a segmentation fault ensues after several panic alerts.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7135 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-02-11 21:30:53 +00:00
parent 6cbaa360a1
commit cb832f2298
3 changed files with 6 additions and 6 deletions

View File

@ -16,6 +16,7 @@
// http://code.google.com/p/dolphin-emu/
#include "AVIDump.h"
#include "HW/VideoInterface.h" //for TargetRefreshRate
#ifdef _WIN32
@ -30,8 +31,6 @@
#include "CommonPaths.h"
#include "Log.h"
#include "HW/VideoInterface.h" //for TargetRefreshRate
HWND m_emuWnd;
LONG m_byteBuffer;
LONG m_frameCount;
@ -203,8 +202,6 @@ bool AVIDump::SetVideoFormat()
#include "StringUtil.h"
#include "Log.h"
#include "HW/VideoInterface.h" //for TargetRefreshRate
extern "C" {
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>