mirror of https://github.com/snes9xgit/snes9x.git
Mac: Update for Xcode 12
This commit is contained in:
parent
bdd061847e
commit
e3e3e287d8
|
@ -356,7 +356,7 @@ bool8 SNES9X_RecordMovie (void)
|
||||||
else
|
else
|
||||||
opt |= MOVIE_OPT_FROM_SNAPSHOT;
|
opt |= MOVIE_OPT_FROM_SNAPSHOT;
|
||||||
|
|
||||||
r = S9xMovieCreate(filename, mask, opt, macRecordWChar, wcslen(macRecordWChar));
|
r = S9xMovieCreate(filename, mask, opt, macRecordWChar, (int)wcslen(macRecordWChar));
|
||||||
if (r == SUCCESS)
|
if (r == SUCCESS)
|
||||||
{
|
{
|
||||||
ChangeTypeAndCreator(filename, 'SMOV', '~9X~');
|
ChangeTypeAndCreator(filename, 'SMOV', '~9X~');
|
||||||
|
@ -378,8 +378,6 @@ bool8 SNES9X_RecordMovie (void)
|
||||||
|
|
||||||
bool8 SNES9X_PlayMovie (void)
|
bool8 SNES9X_PlayMovie (void)
|
||||||
{
|
{
|
||||||
char filename[PATH_MAX + 1];
|
|
||||||
|
|
||||||
if (cartOpen)
|
if (cartOpen)
|
||||||
{
|
{
|
||||||
NSURL *url = NavPlayMovieFrom();
|
NSURL *url = NavPlayMovieFrom();
|
||||||
|
@ -403,14 +401,11 @@ bool8 SNES9X_PlayMovie (void)
|
||||||
|
|
||||||
bool8 SNES9X_QTMovieRecord (void)
|
bool8 SNES9X_QTMovieRecord (void)
|
||||||
{
|
{
|
||||||
char filename[PATH_MAX + 1];
|
|
||||||
|
|
||||||
if (cartOpen)
|
if (cartOpen)
|
||||||
{
|
{
|
||||||
NSURL *url = NavQTMovieRecordTo();
|
NSURL *url = NavQTMovieRecordTo();
|
||||||
if (url != nil)
|
if (url != nil)
|
||||||
{
|
{
|
||||||
const char *filename = url.path.UTF8String;
|
|
||||||
macQTRecord = true;
|
macQTRecord = true;
|
||||||
SNES9X_Go();
|
SNES9X_Go();
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
302EEC9C22DAD0AB006D1502 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EEC9A22DAD0AB006D1502 /* AudioToolbox.framework */; };
|
302EEC9C22DAD0AB006D1502 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EEC9A22DAD0AB006D1502 /* AudioToolbox.framework */; };
|
||||||
302EEC9D22DAD0AB006D1502 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EEC9B22DAD0AB006D1502 /* AudioUnit.framework */; };
|
302EEC9D22DAD0AB006D1502 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EEC9B22DAD0AB006D1502 /* AudioUnit.framework */; };
|
||||||
302EEC9F22DAD0B1006D1502 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EEC9E22DAD0B1006D1502 /* AGL.framework */; };
|
302EEC9F22DAD0B1006D1502 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EEC9E22DAD0B1006D1502 /* AGL.framework */; };
|
||||||
302EECA122DAD0B9006D1502 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EECA022DAD0B9006D1502 /* OpenGL.framework */; };
|
|
||||||
302EECA322DAD0C5006D1502 /* CoreImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EECA222DAD0C5006D1502 /* CoreImage.framework */; };
|
302EECA322DAD0C5006D1502 /* CoreImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EECA222DAD0C5006D1502 /* CoreImage.framework */; };
|
||||||
302EECA522DAD1B9006D1502 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EECA422DAD1B9006D1502 /* CoreAudio.framework */; };
|
302EECA522DAD1B9006D1502 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 302EECA422DAD1B9006D1502 /* CoreAudio.framework */; };
|
||||||
3042F7E3232E9BDD00C03F5E /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3042F7E2232E9BDD00C03F5E /* Carbon.framework */; };
|
3042F7E3232E9BDD00C03F5E /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3042F7E2232E9BDD00C03F5E /* Carbon.framework */; };
|
||||||
|
@ -546,7 +545,6 @@
|
||||||
308092F72320B041006A2860 /* CoreGraphics.framework in Frameworks */,
|
308092F72320B041006A2860 /* CoreGraphics.framework in Frameworks */,
|
||||||
302EECA522DAD1B9006D1502 /* CoreAudio.framework in Frameworks */,
|
302EECA522DAD1B9006D1502 /* CoreAudio.framework in Frameworks */,
|
||||||
302EECA322DAD0C5006D1502 /* CoreImage.framework in Frameworks */,
|
302EECA322DAD0C5006D1502 /* CoreImage.framework in Frameworks */,
|
||||||
302EECA122DAD0B9006D1502 /* OpenGL.framework in Frameworks */,
|
|
||||||
302EEC9F22DAD0B1006D1502 /* AGL.framework in Frameworks */,
|
302EEC9F22DAD0B1006D1502 /* AGL.framework in Frameworks */,
|
||||||
302EEC9C22DAD0AB006D1502 /* AudioToolbox.framework in Frameworks */,
|
302EEC9C22DAD0AB006D1502 /* AudioToolbox.framework in Frameworks */,
|
||||||
302EEC9D22DAD0AB006D1502 /* AudioUnit.framework in Frameworks */,
|
302EEC9D22DAD0AB006D1502 /* AudioUnit.framework in Frameworks */,
|
||||||
|
@ -1125,7 +1123,7 @@
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
attributes = {
|
attributes = {
|
||||||
LastSwiftUpdateCheck = 1030;
|
LastSwiftUpdateCheck = 1030;
|
||||||
LastUpgradeCheck = 1020;
|
LastUpgradeCheck = 1200;
|
||||||
TargetAttributes = {
|
TargetAttributes = {
|
||||||
30714714230E379500917F82 = {
|
30714714230E379500917F82 = {
|
||||||
CreatedOnToolsVersion = 10.3;
|
CreatedOnToolsVersion = 10.3;
|
||||||
|
@ -1575,6 +1573,7 @@
|
||||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||||
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||||
|
@ -1610,6 +1609,7 @@
|
||||||
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
||||||
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
||||||
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
||||||
|
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
|
||||||
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
||||||
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
||||||
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<Scheme
|
<Scheme
|
||||||
LastUpgradeVersion = "1020"
|
LastUpgradeVersion = "1200"
|
||||||
version = "1.3">
|
version = "1.3">
|
||||||
<BuildAction
|
<BuildAction
|
||||||
parallelizeBuildables = "YES"
|
parallelizeBuildables = "YES"
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
buildForAnalyzing = "YES">
|
buildForAnalyzing = "YES">
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "30CCAC512290472E00549AED"
|
BlueprintIdentifier = "30714714230E379500917F82"
|
||||||
BuildableName = "Snes9x.app"
|
BuildableName = "Snes9x.app"
|
||||||
BlueprintName = "Snes9x"
|
BlueprintName = "Snes9x"
|
||||||
ReferencedContainer = "container:snes9x.xcodeproj">
|
ReferencedContainer = "container:snes9x.xcodeproj">
|
||||||
|
@ -29,17 +29,6 @@
|
||||||
shouldUseLaunchSchemeArgsEnv = "YES">
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
||||||
<Testables>
|
<Testables>
|
||||||
</Testables>
|
</Testables>
|
||||||
<MacroExpansion>
|
|
||||||
<BuildableReference
|
|
||||||
BuildableIdentifier = "primary"
|
|
||||||
BlueprintIdentifier = "30CCAC512290472E00549AED"
|
|
||||||
BuildableName = "Snes9x.app"
|
|
||||||
BlueprintName = "Snes9x"
|
|
||||||
ReferencedContainer = "container:snes9x.xcodeproj">
|
|
||||||
</BuildableReference>
|
|
||||||
</MacroExpansion>
|
|
||||||
<AdditionalOptions>
|
|
||||||
</AdditionalOptions>
|
|
||||||
</TestAction>
|
</TestAction>
|
||||||
<LaunchAction
|
<LaunchAction
|
||||||
buildConfiguration = "Debug"
|
buildConfiguration = "Debug"
|
||||||
|
@ -55,14 +44,12 @@
|
||||||
runnableDebuggingMode = "0">
|
runnableDebuggingMode = "0">
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "30CCAC512290472E00549AED"
|
BlueprintIdentifier = "30714714230E379500917F82"
|
||||||
BuildableName = "Snes9x.app"
|
BuildableName = "Snes9x.app"
|
||||||
BlueprintName = "Snes9x"
|
BlueprintName = "Snes9x"
|
||||||
ReferencedContainer = "container:snes9x.xcodeproj">
|
ReferencedContainer = "container:snes9x.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
<AdditionalOptions>
|
|
||||||
</AdditionalOptions>
|
|
||||||
</LaunchAction>
|
</LaunchAction>
|
||||||
<ProfileAction
|
<ProfileAction
|
||||||
buildConfiguration = "Release"
|
buildConfiguration = "Release"
|
||||||
|
@ -74,7 +61,7 @@
|
||||||
runnableDebuggingMode = "0">
|
runnableDebuggingMode = "0">
|
||||||
<BuildableReference
|
<BuildableReference
|
||||||
BuildableIdentifier = "primary"
|
BuildableIdentifier = "primary"
|
||||||
BlueprintIdentifier = "30CCAC512290472E00549AED"
|
BlueprintIdentifier = "30714714230E379500917F82"
|
||||||
BuildableName = "Snes9x.app"
|
BuildableName = "Snes9x.app"
|
||||||
BlueprintName = "Snes9x"
|
BlueprintName = "Snes9x"
|
||||||
ReferencedContainer = "container:snes9x.xcodeproj">
|
ReferencedContainer = "container:snes9x.xcodeproj">
|
||||||
|
|
Loading…
Reference in New Issue