Skip to content
Permalink
Browse files

Reformat repo to clang-format 7.0 rules

  • Loading branch information...
Techjar committed May 5, 2019
1 parent d347867 commit ff972e3673cf70c67e5daf52d5cc913b1df7a1ba
Showing with 312 additions and 310 deletions.
  1. +1 −1 Source/Android/jni/ButtonManager.cpp
  2. +1 −1 Source/Android/jni/ButtonManager.h
  3. +1 −1 Source/Core/AudioCommon/AudioCommon.h
  4. +1 −1 Source/Core/AudioCommon/AudioStretcher.h
  5. +1 −1 Source/Core/AudioCommon/SurroundDecoder.h
  6. +1 −1 Source/Core/Common/Arm64Emitter.cpp
  7. +1 −1 Source/Core/Common/Arm64Emitter.h
  8. +1 −1 Source/Core/Common/Atomic_GCC.h
  9. +1 −1 Source/Core/Common/Atomic_Win32.h
  10. +1 −1 Source/Core/Common/BlockingLoop.h
  11. +1 −1 Source/Core/Common/Config/ConfigInfo.cpp
  12. +1 −1 Source/Core/Common/Config/ConfigInfo.h
  13. +1 −1 Source/Core/Common/Config/Enums.h
  14. +1 −1 Source/Core/Common/Config/Layer.cpp
  15. +2 −2 Source/Core/Common/Config/Layer.h
  16. +1 −1 Source/Core/Common/ENetUtil.cpp
  17. +1 −1 Source/Core/Common/ENetUtil.h
  18. +1 −1 Source/Core/Common/FPURoundMode.h
  19. +2 −2 Source/Core/Common/GL/GLInterface/AGL.mm
  20. +1 −1 Source/Core/Common/GekkoDisassembler.cpp
  21. +1 −1 Source/Core/Common/GenericFPURoundMode.cpp
  22. +1 −1 Source/Core/Common/JitRegister.cpp
  23. +1 −1 Source/Core/Common/JitRegister.h
  24. +1 −1 Source/Core/Common/Lazy.h
  25. +1 −1 Source/Core/Common/Logging/Log.h
  26. +1 −1 Source/Core/Common/MD5.cpp
  27. +1 −1 Source/Core/Common/Profiler.cpp
  28. +1 −1 Source/Core/Common/Profiler.h
  29. +1 −1 Source/Core/Common/SPSCQueue.h
  30. +1 −1 Source/Core/Common/TraversalServer.cpp
  31. +1 −1 Source/Core/Common/UPnP.h
  32. +1 −1 Source/Core/Common/x64Emitter.cpp
  33. +1 −1 Source/Core/Common/x64Emitter.h
  34. +1 −1 Source/Core/Common/x64FPURoundMode.cpp
  35. +1 −1 Source/Core/Core/ARDecrypt.h
  36. +1 −1 Source/Core/Core/ActionReplay.h
  37. +2 −2 Source/Core/Core/ConfigLoaders/BaseConfigLoader.h
  38. +1 −1 Source/Core/Core/ConfigLoaders/GameConfigLoader.h
  39. +1 −1 Source/Core/Core/ConfigLoaders/IsSettingSaveable.h
  40. +1 −1 Source/Core/Core/ConfigLoaders/MovieConfigLoader.h
  41. +1 −1 Source/Core/Core/CoreTiming.cpp
  42. +1 −1 Source/Core/Core/CoreTiming.h
  43. +1 −1 Source/Core/Core/DSP/Interpreter/DSPIntExtOps.cpp
  44. +1 −1 Source/Core/Core/DSP/Interpreter/DSPIntExtOps.h
  45. +1 −1 Source/Core/Core/Debugger/Debugger_SymbolMap.cpp
  46. +1 −1 Source/Core/Core/Debugger/Debugger_SymbolMap.h
  47. +1 −1 Source/Core/Core/FifoPlayer/FifoAnalyzer.cpp
  48. +1 −1 Source/Core/Core/FifoPlayer/FifoAnalyzer.h
  49. +1 −1 Source/Core/Core/GeckoCodeConfig.cpp
  50. +1 −1 Source/Core/Core/GeckoCodeConfig.h
  51. +1 −1 Source/Core/Core/HLE/HLE_Misc.cpp
  52. +1 −1 Source/Core/Core/HLE/HLE_Misc.h
  53. +1 −1 Source/Core/Core/HLE/HLE_OS.h
  54. +1 −1 Source/Core/Core/HW/AudioInterface.h
  55. +1 −1 Source/Core/Core/HW/CPU.cpp
  56. +1 −1 Source/Core/Core/HW/CPU.h
  57. +2 −2 Source/Core/Core/HW/DSPHLE/UCodes/AXVoice.h
  58. +1 −1 Source/Core/Core/HW/DVD/DVDInterface.h
  59. +1 −1 Source/Core/Core/HW/DVD/DVDThread.cpp
  60. +4 −4 Source/Core/Core/HW/DVD/DVDThread.h
  61. +1 −1 Source/Core/Core/HW/DVD/FileMonitor.h
  62. +1 −1 Source/Core/Core/HW/GCKeyboard.h
  63. +1 −1 Source/Core/Core/HW/GCKeyboardEmu.h
  64. +1 −1 Source/Core/Core/HW/GCPad.h
  65. +1 −1 Source/Core/Core/HW/GPFifo.h
  66. +1 −1 Source/Core/Core/HW/HW.cpp
  67. +1 −1 Source/Core/Core/HW/HW.h
  68. +1 −1 Source/Core/Core/HW/MMIO.cpp
  69. +2 −2 Source/Core/Core/HW/MMIO.h
  70. +1 −1 Source/Core/Core/HW/MMIOHandlers.h
  71. +1 −1 Source/Core/Core/HW/Memmap.cpp
  72. +1 −1 Source/Core/Core/HW/Memmap.h
  73. +1 −1 Source/Core/Core/HW/StreamADPCM.cpp
  74. +1 −1 Source/Core/Core/HW/StreamADPCM.h
  75. +2 −2 Source/Core/Core/HW/WiiSave.h
  76. +1 −1 Source/Core/Core/HW/WiimoteReal/IOAndroid.cpp
  77. +1 −1 Source/Core/Core/HW/WiimoteReal/IOAndroid.h
  78. +1 −1 Source/Core/Core/HW/WiimoteReal/IODummy.h
  79. +1 −1 Source/Core/Core/HW/WiimoteReal/IOLinux.cpp
  80. +1 −1 Source/Core/Core/HW/WiimoteReal/IOLinux.h
  81. +1 −1 Source/Core/Core/HW/WiimoteReal/IOWin.h
  82. +1 −1 Source/Core/Core/HW/WiimoteReal/IOdarwin.h
  83. +5 −8 Source/Core/Core/HW/WiimoteReal/IOdarwin.mm
  84. +1 −1 Source/Core/Core/HW/WiimoteReal/IOhidapi.h
  85. +1 −1 Source/Core/Core/IOS/IOS.h
  86. +11 −11 Source/Core/Core/IOS/USB/Bluetooth/WiimoteDevice.cpp
  87. +5 −5 Source/Core/Core/IOS/USB/Bluetooth/hci.h
  88. +1 −1 Source/Core/Core/IOS/USB/USBV5.cpp
  89. +1 −1 Source/Core/Core/MemTools.cpp
  90. +1 −1 Source/Core/Core/MemTools.h
  91. +1 −1 Source/Core/Core/PatchEngine.cpp
  92. +4 −2 Source/Core/Core/PowerPC/GDBStub.h
  93. +1 −1 Source/Core/Core/PowerPC/Interpreter/Interpreter_Tables.cpp
  94. +1 −1 Source/Core/Core/PowerPC/Jit64/Jit64_Tables.cpp
  95. +2 −2 Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.cpp
  96. +6 −6 Source/Core/Core/PowerPC/Jit64/RegCache/JitRegCache.h
  97. +1 −1 Source/Core/Core/PowerPC/JitArm64/JitArm64_Tables.cpp
  98. +1 −1 Source/Core/Core/PowerPC/JitInterface.cpp
  99. +1 −1 Source/Core/Core/PowerPC/JitInterface.h
  100. +29 −29 Source/Core/Core/PowerPC/MMU.cpp
  101. +1 −1 Source/Core/Core/PowerPC/PPCAnalyst.cpp
  102. +1 −1 Source/Core/Core/PowerPC/PPCAnalyst.h
  103. +1 −1 Source/Core/Core/PowerPC/PPCTables.cpp
  104. +1 −1 Source/Core/Core/State.h
  105. +1 −1 Source/Core/Core/SysConf.h
  106. +1 −1 Source/Core/Core/WiiUtils.cpp
  107. +2 −2 Source/Core/Core/WiiUtils.h
  108. +1 −1 Source/Core/DiscIO/Blob.cpp
  109. +1 −1 Source/Core/DiscIO/Blob.h
  110. +1 −1 Source/Core/DiscIO/CISOBlob.cpp
  111. +1 −1 Source/Core/DiscIO/CISOBlob.h
  112. +1 −1 Source/Core/DiscIO/CompressedBlob.cpp
  113. +1 −1 Source/Core/DiscIO/CompressedBlob.h
  114. +1 −1 Source/Core/DiscIO/DirectoryBlob.cpp
  115. +2 −2 Source/Core/DiscIO/DirectoryBlob.h
  116. +5 −2 Source/Core/DiscIO/DriveBlob.cpp
  117. +1 −1 Source/Core/DiscIO/DriveBlob.h
  118. +1 −1 Source/Core/DiscIO/Enums.cpp
  119. +1 −1 Source/Core/DiscIO/Enums.h
  120. +1 −1 Source/Core/DiscIO/FileBlob.cpp
  121. +1 −1 Source/Core/DiscIO/FileBlob.h
  122. +1 −1 Source/Core/DiscIO/FileSystemGCWii.cpp
  123. +1 −1 Source/Core/DiscIO/FileSystemGCWii.h
  124. +1 −1 Source/Core/DiscIO/NANDImporter.cpp
  125. +1 −1 Source/Core/DiscIO/NANDImporter.h
  126. +1 −1 Source/Core/DiscIO/TGCBlob.cpp
  127. +1 −1 Source/Core/DiscIO/Volume.cpp
  128. +1 −1 Source/Core/DiscIO/VolumeFileBlobReader.cpp
  129. +1 −1 Source/Core/DiscIO/VolumeFileBlobReader.h
  130. +1 −1 Source/Core/DiscIO/VolumeGC.cpp
  131. +1 −1 Source/Core/DiscIO/VolumeGC.h
  132. +1 −1 Source/Core/DiscIO/VolumeVerifier.h
  133. +1 −1 Source/Core/DiscIO/VolumeWad.cpp
  134. +1 −1 Source/Core/DiscIO/VolumeWad.h
  135. +1 −1 Source/Core/DiscIO/VolumeWii.h
  136. +1 −1 Source/Core/DiscIO/WbfsBlob.cpp
  137. +1 −1 Source/Core/DiscIO/WbfsBlob.h
  138. +1 −1 Source/Core/DiscIO/WiiSaveBanner.h
  139. +1 −1 Source/Core/DiscIO/WiiWad.h
  140. +1 −1 Source/Core/DolphinQt/Config/NewPatchDialog.h
  141. +1 −1 Source/Core/DolphinQt/GameList/GameList.cpp
  142. +1 −1 Source/Core/DolphinQt/Resources.h
  143. +2 −2 Source/Core/InputCommon/ControlReference/ExpressionParser.h
  144. +2 −2 Source/Core/InputCommon/ControllerInterface/Android/Android.cpp
  145. +2 −2 Source/Core/InputCommon/ControllerInterface/Android/Android.h
  146. +2 −2 Source/Core/InputCommon/ControllerInterface/DInput/DInput.h
  147. +2 −2 Source/Core/InputCommon/ControllerInterface/DInput/XInputFilter.cpp
  148. +1 −1 Source/Core/InputCommon/ControllerInterface/DInput/XInputFilter.h
  149. +2 −2 Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h
  150. +2 −2 Source/Core/InputCommon/ControllerInterface/OSX/OSX.h
  151. +2 −2 Source/Core/InputCommon/ControllerInterface/OSX/OSXJoystick.h
  152. +1 −1 Source/Core/InputCommon/ControllerInterface/OSX/RunLoopStopper.h
  153. +2 −2 Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.cpp
  154. +2 −2 Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h
  155. +2 −2 Source/Core/InputCommon/ControllerInterface/Quartz/Quartz.h
  156. +2 −2 Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp
  157. +2 −2 Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
  158. +1 −1 Source/Core/InputCommon/InputProfile.cpp
  159. +1 −1 Source/Core/InputCommon/InputProfile.h
  160. +2 −4 Source/Core/MacUpdater/AppDelegate.mm
  161. +4 −4 Source/Core/MacUpdater/MacUI.mm
  162. +1 −1 Source/Core/UICommon/CommandLineParse.cpp
  163. +2 −2 Source/Core/UICommon/CommandLineParse.h
  164. +1 −1 Source/Core/UICommon/GameFileCache.cpp
  165. +2 −2 Source/Core/UICommon/UICommon.cpp
  166. +1 −1 Source/Core/UICommon/VideoUtils.cpp
  167. +1 −1 Source/Core/UICommon/VideoUtils.h
  168. +1 −1 Source/Core/UICommon/X11Utils.cpp
  169. +1 −1 Source/Core/UICommon/X11Utils.h
  170. +1 −1 Source/Core/VideoBackends/D3D/BoundingBox.h
  171. +1 −1 Source/Core/VideoBackends/D3D12/DXVertexFormat.h
  172. +1 −1 Source/Core/VideoBackends/D3D12/VideoBackend.h
  173. +1 −1 Source/Core/VideoBackends/Null/PerfQuery.h
  174. +1 −1 Source/Core/VideoBackends/OGL/PerfQuery.h
  175. +1 −1 Source/Core/VideoBackends/OGL/SamplerCache.h
  176. +1 −1 Source/Core/VideoBackends/OGL/StreamBuffer.cpp
  177. +1 −1 Source/Core/VideoBackends/Software/Clipper.cpp
  178. +1 −1 Source/Core/VideoBackends/Software/Clipper.h
  179. +1 −1 Source/Core/VideoBackends/Software/CopyRegion.h
  180. +1 −1 Source/Core/VideoBackends/Software/DebugUtil.cpp
  181. +1 −1 Source/Core/VideoBackends/Software/DebugUtil.h
  182. +1 −1 Source/Core/VideoBackends/Software/EfbCopy.cpp
  183. +1 −1 Source/Core/VideoBackends/Software/EfbInterface.cpp
  184. +1 −1 Source/Core/VideoBackends/Software/Rasterizer.cpp
  185. +1 −1 Source/Core/VideoBackends/Software/Rasterizer.h
  186. +2 −2 Source/Core/VideoBackends/Software/TextureEncoder.cpp
  187. +1 −1 Source/Core/VideoBackends/Software/TextureSampler.cpp
  188. +1 −1 Source/Core/VideoBackends/Software/TextureSampler.h
  189. +1 −1 Source/Core/VideoBackends/Software/TransformUnit.cpp
  190. +1 −1 Source/Core/VideoBackends/Software/TransformUnit.h
  191. +1 −1 Source/Core/VideoCommon/BPFunctions.h
  192. +1 −1 Source/Core/VideoCommon/Fifo.cpp
  193. +1 −1 Source/Core/VideoCommon/NativeVertexFormat.h
  194. +1 −1 Source/Core/VideoCommon/OnScreenDisplay.cpp
  195. +2 −2 Source/Core/VideoCommon/OnScreenDisplay.h
  196. +2 −3 Source/Core/VideoCommon/PixelShaderManager.cpp
  197. +1 −1 Source/Core/VideoCommon/SamplerCommon.h
  198. +7 −8 Source/Core/VideoCommon/TextureCacheBase.cpp
  199. +1 −1 Source/Core/VideoCommon/UberShaderCommon.cpp
  200. +1 −1 Source/Core/VideoCommon/UberShaderPixel.h
  201. +1 −1 Source/Core/VideoCommon/UberShaderVertex.h
  202. +1 −1 Source/Core/VideoCommon/VertexLoaderBase.h
  203. +2 −2 Source/Core/VideoCommon/VertexLoaderManager.cpp
  204. +1 −1 Source/Core/VideoCommon/VertexLoaderManager.h
  205. +1 −1 Source/Core/VideoCommon/VertexLoader_Normal.cpp
  206. +4 −1 Source/UnitTests/Common/BitFieldTest.cpp
  207. +3 −3 Source/UnitTests/Core/CoreTimingTest.cpp
  208. +1 −0 Source/UnitTests/Core/DSP/DSPAcceleratorTest.cpp
@@ -730,4 +730,4 @@ float InputDevice::AxisValue(int padID, ButtonType axis)
else
return _buttons[binding->second->_buttontype] == BUTTON_PRESSED ? 1.0f : 0.0f;
}
}
} // namespace ButtonManager
@@ -256,4 +256,4 @@ float GetAxisValue(int padID, ButtonType axis);
bool GamepadEvent(const std::string& dev, int button, int action);
void GamepadAxisEvent(const std::string& dev, int axis, float value);
void Shutdown();
}
} // namespace ButtonManager
@@ -31,4 +31,4 @@ void StopAudioDump();
void IncreaseVolume(unsigned short offset);
void DecreaseVolume(unsigned short offset);
void ToggleMuteVolume();
}
} // namespace AudioCommon
@@ -25,4 +25,4 @@ class AudioStretcher
double m_stretch_ratio = 1.0;
};

} // AudioCommon
} // namespace AudioCommon
@@ -33,4 +33,4 @@ class SurroundDecoder
FixedSizeQueue<float, 32768> m_decoded_fifo;
};

} // AudioCommon
} // namespace AudioCommon
@@ -4380,4 +4380,4 @@ void ARM64FloatEmitter::MOVI2FDUP(ARM64Reg Rd, float value, ARM64Reg scratch)
DUP(32, Rd, Rd, 0);
}

} // namespace
} // namespace Arm64Gen
@@ -1143,4 +1143,4 @@ class ARM64CodeBlock : public Common::CodeBlock<ARM64XEmitter>
}
}
};
}
} // namespace Arm64Gen
@@ -83,4 +83,4 @@ inline T* AtomicExchangeAcquire(T* volatile& loc, U newval)
{
return __atomic_exchange_n(&loc, newval, __ATOMIC_ACQ_REL);
}
}
} // namespace Common
@@ -91,4 +91,4 @@ inline T* AtomicExchangeAcquire(T* volatile& loc, U newval)
{
return (T*)_InterlockedExchangePointer_acq((void* volatile*)&loc, (void*)newval);
}
}
} // namespace Common
@@ -253,4 +253,4 @@ class BlockingLoop
Flag m_may_sleep; // If this is set, we fall back from the busy loop to an event based
// synchronization.
};
}
} // namespace Common
@@ -32,4 +32,4 @@ bool ConfigLocation::operator<(const ConfigLocation& other) const
const int key_compare = strcasecmp(key.c_str(), other.key.c_str());
return key_compare < 0;
}
}
} // namespace Config
@@ -50,4 +50,4 @@ struct ConfigInfo
ConfigLocation location;
T default_value;
};
}
} // namespace Config
@@ -41,4 +41,4 @@ constexpr std::array<LayerType, 7> SEARCH_ORDER{{
LayerType::GlobalGame,
LayerType::Base,
}};
}
} // namespace Config
@@ -97,4 +97,4 @@ const LayerMap& Layer::GetLayerMap() const
{
return m_map;
}
}
} // namespace Config
@@ -42,7 +42,7 @@ inline std::optional<std::string> TryParse(const std::string& str_value)
{
return str_value;
}
}
} // namespace detail

template <typename T>
struct ConfigInfo;
@@ -154,4 +154,4 @@ class Layer
const LayerType m_layer;
std::unique_ptr<ConfigLayerLoader> m_loader;
};
}
} // namespace Config
@@ -36,4 +36,4 @@ int ENET_CALLBACK InterceptCallback(ENetHost* host, ENetEvent* event)
}
return 0;
}
}
} // namespace ENetUtil
@@ -10,4 +10,4 @@ namespace ENetUtil
{
void WakeupThread(ENetHost* host);
int ENET_CALLBACK InterceptCallback(ENetHost* host, ENetEvent* event);
}
} // namespace ENetUtil
@@ -43,4 +43,4 @@ void SetSIMDMode(int rounding_mode, bool non_ieee_mode);
void SaveSIMDState();
void LoadSIMDState();
void LoadDefaultSIMDState();
}
} // namespace FPURoundMode
@@ -106,8 +106,8 @@ static bool AttachContextToView(NSOpenGLContext* context, NSView* view, u32* wid

std::unique_ptr<GLContext> GLContextAGL::CreateSharedContext()
{
NSOpenGLContext* new_agl_context =
[[NSOpenGLContext alloc] initWithFormat:m_pixel_format shareContext:m_context];
NSOpenGLContext* new_agl_context = [[NSOpenGLContext alloc] initWithFormat:m_pixel_format
shareContext:m_context];
if (new_agl_context == nil)
{
ERROR_LOG(VIDEO, "failed to create shared context");
@@ -969,7 +969,7 @@ void GekkoDisassembler::mtfsb(u32 in, int n)
}
}

// Paired instructions
// Paired instructions

#define RA ((inst >> 16) & 0x1f)
#define RB ((inst >> 11) & 0x1f)
@@ -26,4 +26,4 @@ void LoadSIMDState()
void LoadDefaultSIMDState()
{
}
}
} // namespace FPURoundMode
@@ -110,4 +110,4 @@ void RegisterV(const void* base_address, u32 code_size, const char* format, va_l
s_perf_map_file.WriteBytes(entry.data(), entry.size());
}
}
}
} // namespace JitRegister
@@ -30,4 +30,4 @@ inline void Register(const void* start, const void* end, const char* format, ...
RegisterV(start, code_size, format, args);
va_end(args);
}
}
} // namespace JitRegister
@@ -46,4 +46,4 @@ class Lazy

mutable std::variant<T, std::function<T()>> m_value;
};
}
} // namespace Common
@@ -72,7 +72,7 @@ enum LOG_LEVELS

static const char LOG_LEVEL_TO_CHAR[7] = "-NEWID";

} // namespace
} // namespace LogTypes

void GenericLog(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, const char* file, int line,
const char* fmt, ...)
@@ -49,4 +49,4 @@ std::string MD5Sum(const std::string& file_path, std::function<bool(int)> report

return output_string;
}
}
} // namespace MD5
@@ -161,4 +161,4 @@ std::string Profiler::Read()

return buffer.str();
}
}
} // namespace Common
@@ -55,7 +55,7 @@ class ProfilerExecuter
private:
Profiler* m_p;
};
};
}; // namespace Common

// Warning: This profiler isn't thread safe. Only profile functions which doesn't run simultaneously
#define PROFILE(name) \
@@ -107,4 +107,4 @@ class SPSCQueue
ElementPtr* m_read_ptr;
std::atomic<u32> m_size;
};
}
} // namespace Common
@@ -112,7 +112,7 @@ struct hash<TraversalHostId>
return p[0] ^ ((p[1] << 13) | (p[1] >> 19));
}
};
}
} // namespace std

static int sock;
static std::unordered_map<TraversalRequestId, OutgoingPacketInfo> outgoingPackets;
@@ -12,6 +12,6 @@ namespace UPnP
{
void TryPortmapping(u16 port);
void StopPortmapping();
}
} // namespace UPnP

#endif
@@ -3389,4 +3389,4 @@ void XEmitter::RDTSC()
Write8(0x0F);
Write8(0x31);
}
}
} // namespace Gen
@@ -1177,4 +1177,4 @@ class X64CodeBlock : public Common::CodeBlock<XEmitter>
}
};

} // namespace
} // namespace Gen
@@ -61,4 +61,4 @@ void LoadDefaultSIMDState()
{
_mm_setcsr(default_sse_state);
}
}
} // namespace FPURoundMode
@@ -14,4 +14,4 @@ namespace ActionReplay
{
void DecryptARCode(std::vector<std::string> vCodes, std::vector<AREntry>* ops);

} // namespace
} // namespace ActionReplay
@@ -48,4 +48,4 @@ void EnableSelfLogging(bool enable);
std::vector<std::string> GetSelfLog();
void ClearSelfLog();
bool IsSelfLogging();
} // namespace
} // namespace ActionReplay
@@ -10,10 +10,10 @@ namespace Config
{
class ConfigLayerLoader;
enum class LayerType;
}
} // namespace Config

namespace ConfigLoaders
{
void SaveToSYSCONF(Config::LayerType layer);
std::unique_ptr<Config::ConfigLayerLoader> GenerateBaseConfigLoader();
}
} // namespace ConfigLoaders
@@ -25,4 +25,4 @@ std::unique_ptr<Config::ConfigLayerLoader> GenerateGlobalGameConfigLoader(const
u16 revision);
std::unique_ptr<Config::ConfigLayerLoader> GenerateLocalGameConfigLoader(const std::string& id,
u16 revision);
}
} // namespace ConfigLoaders
@@ -15,4 +15,4 @@ namespace ConfigLoaders
// systems to co-exist without trampling on each other while saving.
// This function shall be removed when the old configuration system retires.
bool IsSettingSaveable(const Config::ConfigLocation& config_location);
} // namespace ConfigLoader
} // namespace ConfigLoaders
@@ -32,4 +32,4 @@ class MovieConfigLayerLoader final : public Config::ConfigLayerLoader

void SaveToDTM(Movie::DTMHeader* header);
std::unique_ptr<Config::ConfigLayerLoader> GenerateMovieConfigLoader(Movie::DTMHeader* header);
}
} // namespace ConfigLoaders
@@ -442,4 +442,4 @@ void SetFakeTBStartTicks(u64 val)
g.fake_TB_start_ticks = val;
}

} // namespace
} // namespace CoreTiming
@@ -108,4 +108,4 @@ void SetFakeTBStartTicks(u64 val);

void ForceExceptionCheck(s64 cycles);

} // end of namespace
} // namespace CoreTiming
@@ -495,7 +495,7 @@ void nop(const UDSPInstruction opc)
}

} // namespace Ext
} // namespace Interpeter
} // namespace Interpreter

// The ext ops are calculated in parallel with the actual op. That means that
// both the main op and the ext op see the same register state as input. The
@@ -44,5 +44,5 @@ void nr(UDSPInstruction opc);
void nop(UDSPInstruction opc);

} // namespace Ext
} // namespace Interpeter
} // namespace Interpreter
} // namespace DSP
@@ -159,4 +159,4 @@ void PrintDataBuffer(LogTypes::LOG_TYPE type, const u8* data, size_t size, const
}
}

} // end of namespace Debugger
} // namespace Dolphin_Debugger
@@ -25,4 +25,4 @@ void PrintDataBuffer(LogTypes::LOG_TYPE type, const u8* data, size_t size,
const std::string& title);
void AddAutoBreakpoints();

} // end of namespace Debugger
} // namespace Dolphin_Debugger
@@ -290,4 +290,4 @@ void CalculateVertexElementSizes(int sizes[], int vatIndex, const CPMemory& cpMe
vtxDescHex >>= 2;
}
}
}
} // namespace FifoAnalyzer
@@ -38,4 +38,4 @@ void CalculateVertexElementSizes(int sizes[], int vatIndex, const CPMemory& cpMe

extern bool s_DrawingObject;
extern FifoAnalyzer::CPMemory s_CpMem;
}
} // namespace FifoAnalyzer
@@ -253,4 +253,4 @@ void SaveCodes(IniFile& inifile, const std::vector<GeckoCode>& gcodes)
inifile.SetLines("Gecko", lines);
inifile.SetLines("Gecko_Enabled", enabledLines);
}
}
} // namespace Gecko
@@ -15,4 +15,4 @@ namespace Gecko
std::vector<GeckoCode> LoadCodes(const IniFile& globalIni, const IniFile& localIni);
std::vector<GeckoCode> DownloadCodes(std::string gametdb_id, bool* succeeded);
void SaveCodes(IniFile& inifile, const std::vector<GeckoCode>& gcodes);
}
} // namespace Gecko
@@ -68,4 +68,4 @@ void GeckoReturnTrampoline()
PowerPC::HostRead_U64(SP + 24 + (2 * i + 1) * sizeof(u64)));
}
}
}
} // namespace HLE_Misc
@@ -10,4 +10,4 @@ void UnimplementedFunction();
void HBReload();
void GeckoCodeHandlerICacheFlush();
void GeckoReturnTrampoline();
}
} // namespace HLE_Misc
@@ -14,4 +14,4 @@ void HLE_LogDPrint();
void HLE_LogVDPrint();
void HLE_LogFPrint();
void HLE_LogVFPrint();
}
} // namespace HLE_OS
@@ -28,4 +28,4 @@ unsigned int GetAIDSampleRate();

void GenerateAISInterrupt();

} // namespace
} // namespace AudioInterface
@@ -328,4 +328,4 @@ bool PauseAndLock(bool do_lock, bool unpause_on_unlock, bool control_adjacent)
}
return was_unpaused;
}
}
} // namespace CPU
@@ -74,4 +74,4 @@ const State* GetStatePtr();
// "control_adjacent" causes PauseAndLock to behave like EnableStepping by modifying the
// state of the Audio and FIFO subsystems as well.
bool PauseAndLock(bool do_lock, bool unpause_on_unlock = true, bool control_adjacent = false);
}
} // namespace CPU
@@ -460,8 +460,8 @@ void ProcessVoice(PB_TYPE& pb, const AXBuffers& buffers, u16 count, AXMixControl
pb.lpf.yn1 = LowPassFilter(samples, count, pb.lpf.yn1, pb.lpf.a0, pb.lpf.b0);
}

// Mix LRS, AUXA and AUXB depending on mixer_control
// TODO: Handle DPL2 on AUXB.
// Mix LRS, AUXA and AUXB depending on mixer_control
// TODO: Handle DPL2 on AUXB.

#define MIX_ON(C) (0 != (mctrl & MIX_##C))
#define RAMP_ON(C) (0 != (mctrl & MIX_##C##_RAMP))
@@ -16,7 +16,7 @@ namespace DiscIO
{
class Volume;
struct Partition;
}
} // namespace DiscIO
namespace MMIO
{
class Mapping;

0 comments on commit ff972e3

Please sign in to comment.
You can’t perform that action at this time.