diff --git a/plugins/cdvdGigaherz/src/CDVD.cpp b/plugins/cdvdGigaherz/src/CDVD.cpp index f8de3bd5a6..1806fac957 100644 --- a/plugins/cdvdGigaherz/src/CDVD.cpp +++ b/plugins/cdvdGigaherz/src/CDVD.cpp @@ -290,18 +290,18 @@ s32 CALLBACK CDVDgetDualInfo(s32* dualType, u32* _layer1start) { case 1: *dualType = 1; - *_layer1start = src->GetLayerBreakAddress(); - return 1; + *_layer1start = src->GetLayerBreakAddress() + 1; + return 0; case 2: *dualType = 2; - *_layer1start = src->GetLayerBreakAddress(); - return 1; + *_layer1start = src->GetLayerBreakAddress() + 1; + return 0; case 0: *dualType = 0; *_layer1start = 0; - return 1; + return 0; } - return 0; + return -1; } int lastReadInNewDiskCB=0; diff --git a/plugins/cdvdGigaherz/src/Windows/IOCtlSrc.cpp b/plugins/cdvdGigaherz/src/Windows/IOCtlSrc.cpp index 92a7aaf299..9fe93c832a 100644 --- a/plugins/cdvdGigaherz/src/Windows/IOCtlSrc.cpp +++ b/plugins/cdvdGigaherz/src/Windows/IOCtlSrc.cpp @@ -579,7 +579,7 @@ s32 IOCtlSrc::GetMediaType() { //PTP mediaTypeCached = true; - mediaType = 2; + mediaType = 1; return mediaType; }