summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2016-06-25 18:45:53 +0200
committerGitHub <noreply@github.com>2016-06-25 18:45:53 +0200
commit10682dbf5843bcf55cda7db4bc4e5acaee556648 (patch)
treee3c3fba5f61c0bf3316a257d7d791849a7fd45de /Source/Core
parent64cf74abb4158ffabe8b5dce3c1a4d42a82b054f (diff)
parent1878605d77d38861307027ae5bcd6ca131c8266e (diff)
Merge pull request #3934 from JosJuice/comment-formatting
Undo some comment formatting changes from b5104a7
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DiscIO/Volume.h3
-rw-r--r--Source/Core/DiscIO/VolumeDirectory.cpp12
-rw-r--r--Source/Core/DiscIO/VolumeDirectory.h3
-rw-r--r--Source/Core/DiscIO/VolumeWad.cpp3
-rw-r--r--Source/Core/DiscIO/VolumeWad.h3
-rw-r--r--Source/Core/DolphinWX/ISOFile.cpp15
6 files changed, 14 insertions, 25 deletions
diff --git a/Source/Core/DiscIO/Volume.h b/Source/Core/DiscIO/Volume.h
index 1ea9d3650f..6580c4a704 100644
--- a/Source/Core/DiscIO/Volume.h
+++ b/Source/Core/DiscIO/Volume.h
@@ -19,8 +19,7 @@ namespace DiscIO
class IVolume
{
public:
- // Increment CACHE_REVISION if the enums below are modified (ISOFile.cpp &
- // GameFile.cpp)
+ // Increment CACHE_REVISION if the enums below are modified (ISOFile.cpp & GameFile.cpp)
enum EPlatform
{
GAMECUBE_DISC = 0,
diff --git a/Source/Core/DiscIO/VolumeDirectory.cpp b/Source/Core/DiscIO/VolumeDirectory.cpp
index 5662fa57c2..beff1ca936 100644
--- a/Source/Core/DiscIO/VolumeDirectory.cpp
+++ b/Source/Core/DiscIO/VolumeDirectory.cpp
@@ -63,14 +63,10 @@ bool CVolumeDirectory::Read(u64 _Offset, u64 _Length, u8* _pBuffer, bool decrypt
if (!decrypt && (_Offset + _Length >= 0x400) && m_is_wii)
{
// Fully supporting this would require re-encrypting every file that's read.
- // Only supporting the areas that IOS allows software to read could be more
- // feasible.
- // Currently, only the header (up to 0x400) is supported, though we're
- // cheating a bit
- // with it by reading the header inside the current partition instead.
- // Supporting the
- // header is enough for booting games, but not for running things like the
- // Disc Channel.
+ // Only supporting the areas that IOS allows software to read could be more feasible.
+ // Currently, only the header (up to 0x400) is supported, though we're cheating a bit
+ // with it by reading the header inside the current partition instead. Supporting the
+ // header is enough for booting games, but not for running things like the Disc Channel.
return false;
}
diff --git a/Source/Core/DiscIO/VolumeDirectory.h b/Source/Core/DiscIO/VolumeDirectory.h
index 2a6fb87808..32716e83d2 100644
--- a/Source/Core/DiscIO/VolumeDirectory.h
+++ b/Source/Core/DiscIO/VolumeDirectory.h
@@ -19,8 +19,7 @@ struct FSTEntry;
}
//
-// --- this volume type is used for reading files directly from the hard drive
-// ---
+// --- this volume type is used for reading files directly from the hard drive ---
//
namespace DiscIO
diff --git a/Source/Core/DiscIO/VolumeWad.cpp b/Source/Core/DiscIO/VolumeWad.cpp
index fe9da2db50..a6cb48ca77 100644
--- a/Source/Core/DiscIO/VolumeWad.cpp
+++ b/Source/Core/DiscIO/VolumeWad.cpp
@@ -89,8 +89,7 @@ std::string CVolumeWAD::GetUniqueID() const
std::string CVolumeWAD::GetMakerID() const
{
char temp[2] = {1};
- // Some weird channels use 0x0000 in place of the MakerID, so we need a check
- // there
+ // Some weird channels use 0x0000 in place of the MakerID, so we need a check there
if (!Read(0x198 + m_tmd_offset, 2, (u8*)temp) || temp[0] == 0 || temp[1] == 0)
return "00";
diff --git a/Source/Core/DiscIO/VolumeWad.h b/Source/Core/DiscIO/VolumeWad.h
index 4e5c8016ee..204489f231 100644
--- a/Source/Core/DiscIO/VolumeWad.h
+++ b/Source/Core/DiscIO/VolumeWad.h
@@ -14,8 +14,7 @@
#include "DiscIO/Volume.h"
// --- this volume type is used for Wad files ---
-// Some of this code might look redundant with the CNANDContentLoader class,
-// however,
+// Some of this code might look redundant with the CNANDContentLoader class, however,
// We do not do any decryption here, we do raw read, so things are -Faster-
namespace DiscIO
diff --git a/Source/Core/DolphinWX/ISOFile.cpp b/Source/Core/DolphinWX/ISOFile.cpp
index 95b9a02e2a..2ec148ef16 100644
--- a/Source/Core/DolphinWX/ISOFile.cpp
+++ b/Source/Core/DolphinWX/ISOFile.cpp
@@ -47,8 +47,7 @@ static std::string GetLanguageString(DiscIO::IVolume::ELanguage language,
if (it != end)
return it->second;
- // English tends to be a good fallback when the requested language isn't
- // available
+ // English tends to be a good fallback when the requested language isn't available
if (language != DiscIO::IVolume::ELanguage::LANGUAGE_ENGLISH)
{
it = strings.find(DiscIO::IVolume::ELanguage::LANGUAGE_ENGLISH);
@@ -150,16 +149,14 @@ GameListItem::GameListItem(const std::string& _rFileName,
std::string path, name;
SplitPath(m_FileName, &path, &name, nullptr);
- // A bit like the Homebrew Channel icon, except there can be multiple files in
- // a folder with their
- // own icons.
- // Useful for those who don't want to have a Homebrew Channel-style folder
- // structure.
+ // A bit like the Homebrew Channel icon, except there can be multiple files
+ // in a folder with their own icons. Useful for those who don't want to have
+ // a Homebrew Channel-style folder structure.
if (ReadPNGBanner(path + name + ".png"))
return;
- // Homebrew Channel icon. Typical for DOLs and ELFs, but can be also used with
- // volumes.
+ // Homebrew Channel icon. Typical for DOLs and ELFs,
+ // but can be also used with volumes.
if (ReadPNGBanner(path + "icon.png"))
return;