mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
Rename RetroArch_OSX
This commit is contained in:
parent
f4f9fa0d88
commit
f7d732bc3d
10
README.md
10
README.md
@ -123,20 +123,20 @@ make
|
|||||||
|
|
||||||
<b>Mac</b><br/>
|
<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).
|
- 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 (**⌘-B**) and run (**⌘-R**) it there. Or you can use the command line...
|
- You can open the project (**apple/RetroArch.xcodeproj**) in the Xcode IDE and build (**⌘-B**) and run (**⌘-R**) it there. Or you can use the command line...
|
||||||
- Debug:
|
- Debug:
|
||||||
```bash
|
```bash
|
||||||
# Build
|
# Build
|
||||||
xcodebuild -target RetroArch_OSX -configuration Debug -project apple/RetroArch_OSX.xcodeproj
|
xcodebuild -target RetroArch -configuration Debug -project apple/RetroArch.xcodeproj
|
||||||
# Run
|
# Run
|
||||||
open ./apple/build/Debug/RetroArch_OSX.app/
|
open ./apple/build/Debug/RetroArch.app/
|
||||||
```
|
```
|
||||||
- Release:
|
- Release:
|
||||||
```bash
|
```bash
|
||||||
# Build
|
# Build
|
||||||
xcodebuild -target RetroArch_OSX -configuration Release -project apple/RetroArch_OSX.xcodeproj
|
xcodebuild -target RetroArch -configuration Release -project apple/RetroArch.xcodeproj
|
||||||
# Run
|
# Run
|
||||||
open ./apple/build/Release/RetroArch_OSX.app/
|
open ./apple/build/Release/RetroArch.app/
|
||||||
```
|
```
|
||||||
|
|
||||||
<b>PC</b><br/>
|
<b>PC</b><br/>
|
||||||
|
@ -98,7 +98,7 @@ void get_ios_version(int *major, int *minor);
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface RetroArch_OSX : NSObject
|
@interface RetroArch : NSObject
|
||||||
{
|
{
|
||||||
NSWindow* _window;
|
NSWindow* _window;
|
||||||
}
|
}
|
||||||
|
@ -142,7 +142,7 @@ void apple_rarch_exited(void)
|
|||||||
static int waiting_argc;
|
static int waiting_argc;
|
||||||
static char** waiting_argv;
|
static char** waiting_argv;
|
||||||
|
|
||||||
@implementation RetroArch_OSX
|
@implementation RetroArch
|
||||||
|
|
||||||
@synthesize window = _window;
|
@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 setMessageText:(*title) ? BOXSTRING(title) : BOXSTRING("RetroArch")];
|
||||||
[alert setInformativeText:BOXSTRING(message)];
|
[alert setInformativeText:BOXSTRING(message)];
|
||||||
[alert setAlertStyle:NSInformationalAlertStyle];
|
[alert setAlertStyle:NSInformationalAlertStyle];
|
||||||
[alert beginSheetModalForWindow:((RetroArch_OSX*)[[NSApplication sharedApplication] delegate]).window
|
[alert beginSheetModalForWindow:((RetroArch*)[[NSApplication sharedApplication] delegate]).window
|
||||||
modalDelegate:apple_platform
|
modalDelegate:apple_platform
|
||||||
didEndSelector:@selector(alertDidEnd:returnCode:contextInfo:)
|
didEndSelector:@selector(alertDidEnd:returnCode:contextInfo:)
|
||||||
contextInfo:nil];
|
contextInfo:nil];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user