mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
DiscIO: Get rid of unnecessary struct differencing
This commit is contained in:
parent
af79d28cfa
commit
cee3362e33
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user