diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-09-17 01:47:34 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2012-09-17 01:47:34 +0000 |
| commit | 0af4b67eb852807fdde1723a29e15d35994e82dc (patch) | |
| tree | f52af2b15f989aa91bae56ade0ce8ac65568fa93 | |
| parent | f0801860c2e4ea2034af80b34c2ce424cfefb0fb (diff) | |
| download | pcsxr-0af4b67eb852807fdde1723a29e15d35994e82dc.tar.gz | |
Main Xcode project changed slightly.
Style changes in the Mac NetSock plug-in.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@79894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | macosx/Pcsxr.xcodeproj/project.pbxproj | 18 | ||||
| -rw-r--r-- | macosx/plugins/DFNet/macsrc/SockDialog.m | 21 |
2 files changed, 21 insertions, 18 deletions
diff --git a/macosx/Pcsxr.xcodeproj/project.pbxproj b/macosx/Pcsxr.xcodeproj/project.pbxproj index ff35ec23..82be9750 100644 --- a/macosx/Pcsxr.xcodeproj/project.pbxproj +++ b/macosx/Pcsxr.xcodeproj/project.pbxproj @@ -29,8 +29,8 @@ 2BB3D6C605427FE200831ACB /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2BC4786204C7FD3600CAB520 /* Cocoa.framework */; }; 2BB3D6C705427FE200831ACB /* System.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2B6E8AAE04C832040017A3B1 /* System.framework */; }; 2BB3D6C805427FE200831ACB /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2B6E8AB404C8327C0017A3B1 /* IOKit.framework */; }; - 5586CD9714AFADD9008EF4EE /* PeopsSPU.psxplugin in Copy PlugIns */ = {isa = PBXBuildFile; fileRef = 71AD2DD110C356FD00365243 /* PeopsSPU.psxplugin */; }; - 5586CD9814AFADD9008EF4EE /* PeopsAL.psxplugin in Copy PlugIns */ = {isa = PBXBuildFile; fileRef = 28B467F11463D0020083F129 /* PeopsAL.psxplugin */; }; + 5586CD9714AFADD9008EF4EE /* PeopsSpuSDL.psxplugin in Copy PlugIns */ = {isa = PBXBuildFile; fileRef = 71AD2DD110C356FD00365243 /* PeopsSpuSDL.psxplugin */; }; + 5586CD9814AFADD9008EF4EE /* PeopsSpuAL.psxplugin in Copy PlugIns */ = {isa = PBXBuildFile; fileRef = 28B467F11463D0020083F129 /* PeopsSpuAL.psxplugin */; }; 559366CA12B694DF004ACC1E /* iR3000A-64.c in Sources */ = {isa = PBXBuildFile; fileRef = 559366C112B694DF004ACC1E /* iR3000A-64.c */; }; 559366CB12B694DF004ACC1E /* ix86-64.c in Sources */ = {isa = PBXBuildFile; fileRef = 559366C212B694DF004ACC1E /* ix86-64.c */; }; 559366CD12B694DF004ACC1E /* ix86_cpudetect.c in Sources */ = {isa = PBXBuildFile; fileRef = 559366C512B694DF004ACC1E /* ix86_cpudetect.c */; }; @@ -209,8 +209,8 @@ dstPath = ""; dstSubfolderSpec = 13; files = ( - 5586CD9714AFADD9008EF4EE /* PeopsSPU.psxplugin in Copy PlugIns */, - 5586CD9814AFADD9008EF4EE /* PeopsAL.psxplugin in Copy PlugIns */, + 5586CD9714AFADD9008EF4EE /* PeopsSpuSDL.psxplugin in Copy PlugIns */, + 5586CD9814AFADD9008EF4EE /* PeopsSpuAL.psxplugin in Copy PlugIns */, 559DACBB146C68C500C5DF71 /* DFNet.psxplugin in Copy PlugIns */, 71D888D6130F04F100F150FF /* PeopsXGL.psxplugin in Copy PlugIns */, 71F2C0881200B6B000322AD9 /* DFInput.psxplugin in Copy PlugIns */, @@ -571,8 +571,8 @@ 71AD2DCD10C356FD00365243 /* Products */ = { isa = PBXGroup; children = ( - 71AD2DD110C356FD00365243 /* PeopsSPU.psxplugin */, - 28B467F11463D0020083F129 /* PeopsAL.psxplugin */, + 71AD2DD110C356FD00365243 /* PeopsSpuSDL.psxplugin */, + 28B467F11463D0020083F129 /* PeopsSpuAL.psxplugin */, ); name = Products; sourceTree = "<group>"; @@ -705,10 +705,9 @@ /* End PBXProject section */ /* Begin PBXReferenceProxy section */ - 28B467F11463D0020083F129 /* PeopsAL.psxplugin */ = { + 28B467F11463D0020083F129 /* PeopsSpuAL.psxplugin */ = { isa = PBXReferenceProxy; fileType = wrapper.cfbundle; - name = PeopsAL.psxplugin; path = PeopsSpuAL.psxplugin; remoteRef = 28B467F01463D0020083F129 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; @@ -720,10 +719,9 @@ remoteRef = 559DACAD146C647E00C5DF71 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 71AD2DD110C356FD00365243 /* PeopsSPU.psxplugin */ = { + 71AD2DD110C356FD00365243 /* PeopsSpuSDL.psxplugin */ = { isa = PBXReferenceProxy; fileType = wrapper.cfbundle; - name = PeopsSPU.psxplugin; path = PeopsSpuSDL.psxplugin; remoteRef = 71AD2DD010C356FD00365243 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; diff --git a/macosx/plugins/DFNet/macsrc/SockDialog.m b/macosx/plugins/DFNet/macsrc/SockDialog.m index 0b108f5e..e07b2386 100644 --- a/macosx/plugins/DFNet/macsrc/SockDialog.m +++ b/macosx/plugins/DFNet/macsrc/SockDialog.m @@ -9,7 +9,8 @@ #import "SockDialog.h" #include "dfnet.h" -void SysMessage(const char *fmt, ...) { +void SysMessage(const char *fmt, ...) +{ va_list list; char msg[512]; //char cmd[512]; @@ -21,7 +22,7 @@ void SysMessage(const char *fmt, ...) { //sprintf(cmd, "message %s\n", msg); NSString *errString = [NSString stringWithUTF8String:msg]; fprintf(stderr, "%s", msg); - NSAlert *alert = [NSAlert alertWithMessageText:nil defaultButton:@"Exit" alternateButton:nil otherButton:nil informativeTextWithFormat:errString]; + NSAlert *alert = [NSAlert alertWithMessageText:nil defaultButton:@"Exit" alternateButton:nil otherButton:nil informativeTextWithFormat:@"%@", errString]; [alert setAlertStyle:NSCriticalAlertStyle]; //NSInteger result = NSRunAlertPanel(errString, nil, @"Okay", nil, nil); NSInteger result = [alert runModal]; @@ -34,7 +35,8 @@ void SysMessage(const char *fmt, ...) { static SockDialog *globalSock = nil; -void sockCreateWaitDlg() { +void sockCreateWaitDlg() +{ if (globalSock == nil) { globalSock = [[SockDialog alloc] init]; } @@ -45,7 +47,8 @@ void sockCreateWaitDlg() { } -void sockDlgUpdate() { +void sockDlgUpdate() +{ } @@ -56,7 +59,8 @@ long sockOpen() return 0; } -void sockDestroyWaitDlg() { +void sockDestroyWaitDlg() +{ if (globalSock != nil) { [globalSock close]; [globalSock release]; @@ -70,16 +74,17 @@ void sockDestroyWaitDlg() { } -- (id)init { +- (id)init +{ if ((self = [super initWithWindowNibName:@"SockDialog"])) { return self; } else { - [self autorelease]; return nil; } } --(void)dealloc { +-(void)dealloc +{ [super dealloc]; } |
