diff --git a/Source/Core/AudioCommon/aldlist.cpp b/Source/Core/AudioCommon/aldlist.cpp index e5fe5f2cb4..c775554401 100644 --- a/Source/Core/AudioCommon/aldlist.cpp +++ b/Source/Core/AudioCommon/aldlist.cpp @@ -335,7 +335,7 @@ s32 ALDeviceList::GetNextFilteredDevice() } /* - * Internal function to detemine max number of Sources that can be generated + * Internal function to determine max number of Sources that can be generated */ u32 ALDeviceList::GetMaxNumSources() { diff --git a/Source/Core/Core/Boot/Boot_BS2Emu.cpp b/Source/Core/Core/Boot/Boot_BS2Emu.cpp index 854d71049c..af720a955a 100644 --- a/Source/Core/Core/Boot/Boot_BS2Emu.cpp +++ b/Source/Core/Core/Boot/Boot_BS2Emu.cpp @@ -229,7 +229,7 @@ bool CBoot::SetupWiiMemory(DiscIO::IVolume::ECountry country) if (!settingsFileHandle.WriteBytes(gen.GetData(), SettingsHandler::SETTINGS_SIZE)) { - PanicAlertT("SetupWiiMemory: Cant create setting.txt file"); + PanicAlertT("SetupWiiMemory: Can't create setting.txt file"); return false; } // Write the 256 byte setting.txt to memory. @@ -240,7 +240,7 @@ bool CBoot::SetupWiiMemory(DiscIO::IVolume::ECountry country) /* Set hardcoded global variables to Wii memory. These are partly collected from - Wiibrew. These values are needed for the games to function correctly. A few + WiiBrew. These values are needed for the games to function correctly. A few values in this region will also be placed here by the game as it boots. They are: 0x80000038 Start of FST @@ -315,7 +315,7 @@ bool CBoot::EmulatedBS2_Wii() { INFO_LOG(BOOT, "Faking Wii BS2..."); - // setup Wii memory + // Setup Wii memory DiscIO::IVolume::ECountry country_code = DiscIO::IVolume::COUNTRY_UNKNOWN; if (DVDInterface::VolumeIsValid()) country_code = DVDInterface::GetVolume().GetCountry(); diff --git a/Source/Core/Core/HW/GCMemcard.h b/Source/Core/Core/HW/GCMemcard.h index 0b3fa41391..cdd760f2cf 100644 --- a/Source/Core/Core/HW/GCMemcard.h +++ b/Source/Core/Core/HW/GCMemcard.h @@ -116,7 +116,7 @@ struct Header //Offset Size Description // end Serial in libogc u8 deviceID[2]; //0x0020 2 0 if formated in slot A 1 if formated in slot B u8 SizeMb[2]; //0x0022 2 Size of memcard in Mbits - u16 Encoding; //0x0024 2 Encoding (ASCII or japanese) + u16 Encoding; //0x0024 2 Encoding (ASCII or Japanese) u8 Unused1[468]; //0x0026 468 Unused (0xff) u16 UpdateCounter; //0x01fa 2 Update Counter (?, probably unused) u16 Checksum; //0x01fc 2 Additive Checksum @@ -139,7 +139,7 @@ struct Header //Offset Size Description // Nintendo format algorithm. // Constants are fixed by the GC SDK - // Changing the constants will break memorycard support + // Changing the constants will break memory card support Header(int slot = 0, u16 sizeMb = MemCard2043Mb, bool ascii = true) { memset(this, 0xFF, BLOCK_SIZE); diff --git a/Source/Core/DiscIO/VolumeCreator.cpp b/Source/Core/DiscIO/VolumeCreator.cpp index 14ba411d90..fdcf4f955e 100644 --- a/Source/Core/DiscIO/VolumeCreator.cpp +++ b/Source/Core/DiscIO/VolumeCreator.cpp @@ -178,7 +178,7 @@ static IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _Part }; SPartitionGroup PartitionGroup[4]; - // read all partitions + // Read all partitions for (SPartitionGroup& group : PartitionGroup) { for (u32 i = 0; i < numPartitions; i++) @@ -190,9 +190,9 @@ static IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _Part } } - // return the partition type specified or number + // Return the partition type specified or number // types: 0 = game, 1 = firmware update, 2 = channel installer - // some partitions on ssbb use the ascii title id of the demo VC game they hold... + // some partitions on SSBB use the ASCII title id of the demo VC game they hold... for (size_t i = 0; i < PartitionGroup[_PartitionGroup].PartitionsVec.size(); i++) { const SPartition& rPartition = PartitionGroup[_PartitionGroup].PartitionsVec.at(i); @@ -216,18 +216,18 @@ EDiscType GetDiscType(IBlobReader& _rReader) u32 WADMagic = Reader.Read32(0x02); u32 GCMagic = Reader.Read32(0x1C); - // check for Wii + // Check for Wii if (WiiMagic == 0x5D1C9EA3 && WiiContainerMagic != 0) return DISC_TYPE_WII; if (WiiMagic == 0x5D1C9EA3 && WiiContainerMagic == 0) return DISC_TYPE_WII_CONTAINER; - // check for WAD + // Check for WAD // 0x206962 for boot2 wads if (WADMagic == 0x00204973 || WADMagic == 0x00206962) return DISC_TYPE_WAD; - // check for GC + // Check for GC if (GCMagic == 0xC2339F3D) return DISC_TYPE_GC;