Rename RetroArch_OSX

This commit is contained in:
twinaphex 2015-06-02 09:48:02 +02:00
parent f4f9fa0d88
commit f7d732bc3d
3 changed files with 8 additions and 8 deletions

View File

@ -123,20 +123,20 @@ make
<b>Mac</b><br/>
- Prerequisites: [XCode](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB4QFjAA&url=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fxcode%2Fid497799835%3Fmt%3D12&ei=ZmfeVNPtIILVoASBnoCYBw&usg=AFQjCNGrxKmVtXUdvUU3MhqZhP4MHT6Gtg&sig2=RIXKsWQ79YTQBt_lK5fdKA&bvm=bv.85970519,d.cGU), [Cg](https://developer.nvidia.com/cg-toolkit-download).
- You can open the project (**apple/RetroArch_OSX.xcodeproj**) in the Xcode IDE and build (**&#8984;-B**) and run (**&#8984;-R**) it there. Or you can use the command line...
- You can open the project (**apple/RetroArch.xcodeproj**) in the Xcode IDE and build (**&#8984;-B**) and run (**&#8984;-R**) it there. Or you can use the command line...
- Debug:
```bash
# Build
xcodebuild -target RetroArch_OSX -configuration Debug -project apple/RetroArch_OSX.xcodeproj
xcodebuild -target RetroArch -configuration Debug -project apple/RetroArch.xcodeproj
# Run
open ./apple/build/Debug/RetroArch_OSX.app/
open ./apple/build/Debug/RetroArch.app/
```
- Release:
```bash
# Build
xcodebuild -target RetroArch_OSX -configuration Release -project apple/RetroArch_OSX.xcodeproj
xcodebuild -target RetroArch -configuration Release -project apple/RetroArch.xcodeproj
# Run
open ./apple/build/Release/RetroArch_OSX.app/
open ./apple/build/Release/RetroArch.app/
```
<b>PC</b><br/>

View File

@ -98,7 +98,7 @@ void get_ios_version(int *major, int *minor);
@end
@interface RetroArch_OSX : NSObject
@interface RetroArch : NSObject
{
NSWindow* _window;
}

View File

@ -142,7 +142,7 @@ void apple_rarch_exited(void)
static int waiting_argc;
static char** waiting_argv;
@implementation RetroArch_OSX
@implementation RetroArch
@synthesize window = _window;
@ -395,7 +395,7 @@ void apple_display_alert(const char *message, const char *title)
[alert setMessageText:(*title) ? BOXSTRING(title) : BOXSTRING("RetroArch")];
[alert setInformativeText:BOXSTRING(message)];
[alert setAlertStyle:NSInformationalAlertStyle];
[alert beginSheetModalForWindow:((RetroArch_OSX*)[[NSApplication sharedApplication] delegate]).window
[alert beginSheetModalForWindow:((RetroArch*)[[NSApplication sharedApplication] delegate]).window
modalDelegate:apple_platform
didEndSelector:@selector(alertDidEnd:returnCode:contextInfo:)
contextInfo:nil];