From cee3362e3370d264ffb8e2b3b63fad191a9d0411 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 29 Aug 2014 20:07:55 -0400 Subject: [PATCH] DiscIO: Get rid of unnecessary struct differencing --- Source/Core/DiscIO/VolumeCreator.cpp | 11 +---------- 1 file changed, 1 insertion(+), 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;