DiscIO: Get rid of unnecessary struct differencing

This commit is contained in:
Lioncash 2014-08-29 20:07:55 -04:00
parent af79d28cfa
commit cee3362e33

View File

@ -32,14 +32,6 @@ enum EDiscType
DISC_TYPE_WAD DISC_TYPE_WAD
}; };
#ifndef _WIN32
struct SPartition
{
u64 Offset;
u32 Type;
}; //gcc 4.3 cries if it's local
#endif
class CBlobBigEndianReader class CBlobBigEndianReader
{ {
public: public:
@ -155,13 +147,12 @@ static IVolume* CreateVolumeFromCryptedWiiImage(IBlobReader& _rReader, u32 _Part
if ((int)_VolumeNum != -1 && _VolumeNum > numPartitions) if ((int)_VolumeNum != -1 && _VolumeNum > numPartitions)
return nullptr; return nullptr;
#ifdef _WIN32
struct SPartition struct SPartition
{ {
u64 Offset; u64 Offset;
u32 Type; u32 Type;
}; };
#endif
struct SPartitionGroup struct SPartitionGroup
{ {
u32 numPartitions; u32 numPartitions;