diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-08-29 19:51:05 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2014-08-29 19:51:05 -0500 |
| commit | b6cd099e2a87019fff383d8d816e562bf25059d9 (patch) | |
| tree | a2e2fb8ca342c28e26f36a064f00d97ddb3d6dde /Source/Core | |
| parent | af79d28cfa973583d0d0bec2f7190417a5d739e4 (diff) | |
| parent | cee3362e3370d264ffb8e2b3b63fad191a9d0411 (diff) | |
Merge pull request #906 from lioncash/cruft
DiscIO: Get rid of unnecessary struct differencing
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DiscIO/VolumeCreator.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Source/Core/DiscIO/VolumeCreator.cpp b/Source/Core/DiscIO/VolumeCreator.cpp index 0180326aab..5ae7ca8ce6 100644 --- a/Source/Core/DiscIO/VolumeCreator.cpp +++ b/Source/Core/DiscIO/VolumeCreator.cpp @@ -32,14 +32,6 @@ enum EDiscType DISC_TYPE_WAD }; -#ifndef _WIN32 -struct SPartition -{ - u64 Offset; - u32 Type; -}; //gcc 4.3 cries if it's local -#endif - class CBlobBigEndianReader { public: @@ -155,13 +147,12 @@ static IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _Part if ((int)_VolumeNum != -1 && _VolumeNum > numPartitions) return nullptr; - #ifdef _WIN32 struct SPartition { u64 Offset; u32 Type; }; - #endif + struct SPartitionGroup { u32 numPartitions; |
