diff --git a/Core/AVIDump.cpp b/Core/AVIDump.cpp index 16095915c6..9e0680dc69 100644 --- a/Core/AVIDump.cpp +++ b/Core/AVIDump.cpp @@ -2,6 +2,7 @@ // Licensed under GPLv2+ // Refer to the license.txt file included. +#ifndef MOBILE_DEVICE #if defined(__FreeBSD__) #define __STDC_CONSTANT_MACROS 1 #endif @@ -257,3 +258,4 @@ void AVIDump::CheckResolution(int width, int height) s_current_height = height; } } +#endif diff --git a/Core/AVIDump.h b/Core/AVIDump.h index 5288d25cd0..07147d5780 100644 --- a/Core/AVIDump.h +++ b/Core/AVIDump.h @@ -1,6 +1,7 @@ // Copyright 2008 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. +#ifndef MOBILE_DEVICE #pragma once @@ -17,4 +18,5 @@ public: static bool Start(int w, int h); static void AddFrame(); static void Stop(); -}; \ No newline at end of file +}; +#endif diff --git a/Core/WaveFile.cpp b/Core/WaveFile.cpp index cf21740b9b..76df969f61 100644 --- a/Core/WaveFile.cpp +++ b/Core/WaveFile.cpp @@ -1,7 +1,7 @@ // Copyright 2008 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. - +#ifndef MOBILE_DEVICE #include #include "Core/WaveFile.h" @@ -114,3 +114,4 @@ void WaveFileWriter::AddStereoSamples(const short* sample_data, u32 count) file.WriteBytes(sample_data, count * 4); audio_size += count * 4; } +#endif diff --git a/Core/WaveFile.h b/Core/WaveFile.h index 273cedd460..39bcf483a4 100644 --- a/Core/WaveFile.h +++ b/Core/WaveFile.h @@ -7,12 +7,11 @@ // Description: Simple utility class to make it easy to write long 16-bit stereo // audio streams to disk. // Use Start() to start recording to a file, and AddStereoSamples to add wave data. -// The float variant will convert from -1.0-1.0 range and clamp. -// Alternatively, AddSamplesBE for big endian wave data. // If Stop is not called when it destructs, the destructor will call Stop(). // --------------------------------------------------------------------------------- #pragma once +#ifndef MOBILE_DEVICE #include #include @@ -42,3 +41,5 @@ private: void Write4(const char* ptr); }; +#endif + diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index ffa28b3be9..a241fcb465 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -678,7 +678,7 @@ void GameSettingsScreen::CreateViews() { systemSettings->Add(new CheckBox(&g_Config.bScreenshotsAsPNG, sy->T("Screenshots as PNG"))); systemSettings->Add(new CheckBox(&g_Config.bDumpFrames, sy->T("Record Display"))); systemSettings->Add(new CheckBox(&g_Config.bUseFFV1, sy->T("Use Lossless Video Codec (FFV1)"))); - systemSettings->Add(new CheckBox(&g_Config.bDumpAudio, sy->T("Export Audio"))); + systemSettings->Add(new CheckBox(&g_Config.bDumpAudio, sy->T("Record Audio"))); #endif systemSettings->Add(new CheckBox(&g_Config.bDayLightSavings, sy->T("Day Light Saving"))); static const char *dateFormat[] = { "YYYYMMDD", "MMDDYYYY", "DDMMYYYY"};