mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix Symbian Builds
This commit is contained in:
parent
1e7eab9d26
commit
b22f785769
5 changed files with 11 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
||||||
// Licensed under GPLv2+
|
// Licensed under GPLv2+
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#ifndef MOBILE_DEVICE
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__)
|
||||||
#define __STDC_CONSTANT_MACROS 1
|
#define __STDC_CONSTANT_MACROS 1
|
||||||
#endif
|
#endif
|
||||||
|
@ -257,3 +258,4 @@ void AVIDump::CheckResolution(int width, int height)
|
||||||
s_current_height = height;
|
s_current_height = height;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// Copyright 2008 Dolphin Emulator Project
|
// Copyright 2008 Dolphin Emulator Project
|
||||||
// Licensed under GPLv2+
|
// Licensed under GPLv2+
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
#ifndef MOBILE_DEVICE
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -18,3 +19,4 @@ public:
|
||||||
static void AddFrame();
|
static void AddFrame();
|
||||||
static void Stop();
|
static void Stop();
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright 2008 Dolphin Emulator Project
|
// Copyright 2008 Dolphin Emulator Project
|
||||||
// Licensed under GPLv2+
|
// Licensed under GPLv2+
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
#ifndef MOBILE_DEVICE
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "Core/WaveFile.h"
|
#include "Core/WaveFile.h"
|
||||||
|
@ -114,3 +114,4 @@ void WaveFileWriter::AddStereoSamples(const short* sample_data, u32 count)
|
||||||
file.WriteBytes(sample_data, count * 4);
|
file.WriteBytes(sample_data, count * 4);
|
||||||
audio_size += count * 4;
|
audio_size += count * 4;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
|
@ -7,12 +7,11 @@
|
||||||
// Description: Simple utility class to make it easy to write long 16-bit stereo
|
// Description: Simple utility class to make it easy to write long 16-bit stereo
|
||||||
// audio streams to disk.
|
// audio streams to disk.
|
||||||
// Use Start() to start recording to a file, and AddStereoSamples to add wave data.
|
// 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().
|
// If Stop is not called when it destructs, the destructor will call Stop().
|
||||||
// ---------------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------------
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
#ifndef MOBILE_DEVICE
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -42,3 +41,5 @@ private:
|
||||||
void Write4(const char* ptr);
|
void Write4(const char* ptr);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -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.bScreenshotsAsPNG, sy->T("Screenshots as PNG")));
|
||||||
systemSettings->Add(new CheckBox(&g_Config.bDumpFrames, sy->T("Record Display")));
|
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.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
|
#endif
|
||||||
systemSettings->Add(new CheckBox(&g_Config.bDayLightSavings, sy->T("Day Light Saving")));
|
systemSettings->Add(new CheckBox(&g_Config.bDayLightSavings, sy->T("Day Light Saving")));
|
||||||
static const char *dateFormat[] = { "YYYYMMDD", "MMDDYYYY", "DDMMYYYY"};
|
static const char *dateFormat[] = { "YYYYMMDD", "MMDDYYYY", "DDMMYYYY"};
|
||||||
|
|
Loading…
Add table
Reference in a new issue