File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Ps3DiscDumper/Utils/MacOS Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ public static partial class CoreFoundation
1111{
1212 private const string AsLibraryName = "/System/Library/Frameworks/ApplicationServices.framework/Versions/Current/ApplicationServices" ;
1313 private const string CfLibraryName = "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation" ;
14- private const string CfLibraryPath = "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation" ;
1514
1615 public const uint KernSuccess = 0 ;
1716 public const uint StringEncodingAscii = 0x0600 ;
@@ -21,7 +20,7 @@ public static partial class CoreFoundation
2120
2221 static CoreFoundation ( )
2322 {
24- var library = DlOpen ( CfLibraryPath , 0 ) ;
23+ var library = DlOpen ( CfLibraryName , 0 ) ;
2524 TypeDictionaryKeyCallBacks = DlSym ( library , "kCFTypeDictionaryKeyCallBacks" ) ;
2625 TypeDictionaryValueCallBacks = DlSym ( library , "kCFTypeDictionaryValueCallBacks" ) ;
2726 }
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public static partial class IOKit
2020 public static partial IntPtr IOServiceMatching ( string name ) ;
2121
2222 [ LibraryImport ( LibraryName ) , UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
23- public static partial int IOServiceGetMatchingServices ( IntPtr mainPort , IntPtr matching , out IntPtr existing ) ;
23+ public static partial uint IOServiceGetMatchingServices ( IntPtr mainPort , IntPtr matching , out IntPtr existing ) ;
2424
2525 [ LibraryImport ( LibraryName ) , UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
2626 public static partial IntPtr IOIteratorNext ( IntPtr iterator ) ;
You can’t perform that action at this time.
0 commit comments