Skip to content

Commit

Permalink
This is VirtualC64 v4.5b1
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkwhoffmann committed May 10, 2022
1 parent 400a22d commit 10fd4e2
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Emulator/config.h
Expand Up @@ -26,7 +26,7 @@
#define SNP_BETA 1

// Uncomment these settings in a release build
// #define RELEASEBUILD
#define RELEASEBUILD


//
Expand Down
1 change: 0 additions & 1 deletion GUI/Dialogs/Inspector/WaveformView.swift
Expand Up @@ -17,7 +17,6 @@ class WaveformView: NSImageView {
var running: Bool { return inspector.c64.running }

// Waveform size
// var size = NSSize(width: 400, height: 200)
var size: NSSize!
var wordCount: Int { return Int(size.width) * Int(size.height) }

Expand Down
21 changes: 8 additions & 13 deletions Resources/Info.plist
Expand Up @@ -171,18 +171,18 @@
<string>Binary</string>
</dict>
<dict>
<key>NSDocumentClass</key>
<string>$(PRODUCT_MODULE_NAME).MyDocument</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>INI</string>
</array>
<key>CFBundleTypeName</key>
<string>INI</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Default</string>
<key>NSDocumentClass</key>
<string>$(PRODUCT_MODULE_NAME).MyDocument</string>
</dict>
</array>
<key>CFBundleExecutable</key>
Expand All @@ -198,18 +198,13 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>4.4</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>4.4</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.entertainment</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSAppleScriptEnabled</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2022 Dirk Hoffmann. All rights reserved.</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
Expand Down
12 changes: 12 additions & 0 deletions Resources/VirtualC64.entitlements
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<false/>
<key>com.apple.security.files.user-selected.read-only</key>
<false/>
<key>com.apple.security.device.usb</key>
<true/>
</dict>
</plist>
Binary file modified Resources/en.lproj/InfoPlist.strings
Binary file not shown.
28 changes: 22 additions & 6 deletions VirtualC64.xcodeproj/project.pbxproj
Expand Up @@ -768,6 +768,7 @@
50F420C9250BA3460043DE56 /* Colors.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Colors.h; sourceTree = "<group>"; };
50F99563203AEC80004C4856 /* KeyViewItem.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = KeyViewItem.xib; sourceTree = "<group>"; };
50FBB62C28294C29001366F9 /* WaveformView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WaveformView.swift; sourceTree = "<group>"; };
50FBB62F282A51FB001366F9 /* VirtualC64.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = VirtualC64.entitlements; sourceTree = "<group>"; };
50FE5B352039B3B7006CE7C7 /* MacKey.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MacKey.swift; sourceTree = "<group>"; };
50FE5B372039B3C5006CE7C7 /* C64Key.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = C64Key.swift; sourceTree = "<group>"; };
50FF1FCA26BAB3DA0061E5CE /* DropZone.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DropZone.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1443,6 +1444,7 @@
5070D72124AF2EB1005862D0 /* Resources */ = {
isa = PBXGroup;
children = (
50FBB62F282A51FB001366F9 /* VirtualC64.entitlements */,
503E198F20C42C6D007E91F1 /* Assets.xcassets */,
2A37F4B9FDCFA73011CA2CEA /* Credits.rtf */,
5018A2721F17FC5000707AFA /* C64_Pro_Mono-STYLE.ttf */,
Expand Down Expand Up @@ -1680,7 +1682,9 @@
LastUpgradeCheck = 1220;
TargetAttributes = {
8D15AC270486D014006FF6A4 = {
DevelopmentTeam = 3NG65ZLYW7;
LastSwiftMigration = 1020;
ProvisioningStyle = Automatic;
};
};
};
Expand Down Expand Up @@ -2054,9 +2058,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_CXX_LANGUAGE_STANDARD = "c++20";
CLANG_CXX_LIBRARY = "compiler-default";
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_ENTITLEMENTS = Resources/VirtualC64.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 220510;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 3NG65ZLYW7;
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
Expand All @@ -2069,8 +2078,9 @@
LIBRARY_SEARCH_PATHS = "$(inherited)";
LLVM_LTO = NO;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 4.5b1;
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = de.dirkwhoffmann.VirtualC64;
PRODUCT_BUNDLE_IDENTIFIER = "de.dirkwhoffmann.VC64-1";
PRODUCT_NAME = VirtualC64;
SWIFT_OBJC_BRIDGING_HEADER = "Proxy/Bridging-Header.h";
SWIFT_VERSION = 5.0;
Expand All @@ -2085,9 +2095,14 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_CXX_LANGUAGE_STANDARD = "c++20";
CLANG_CXX_LIBRARY = "compiler-default";
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_ENTITLEMENTS = Resources/VirtualC64.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 220510;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 3NG65ZLYW7;
ENABLE_HARDENED_RUNTIME = YES;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
Expand All @@ -2101,8 +2116,9 @@
LIBRARY_SEARCH_PATHS = "$(inherited)";
LLVM_LTO = YES_THIN;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MARKETING_VERSION = 4.5b1;
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = de.dirkwhoffmann.VirtualC64;
PRODUCT_BUNDLE_IDENTIFIER = "de.dirkwhoffmann.VC64-1";
PRODUCT_NAME = VirtualC64;
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OBJC_BRIDGING_HEADER = "Proxy/Bridging-Header.h";
Expand Down Expand Up @@ -2151,7 +2167,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Apple Development";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
ENABLE_STRICT_OBJC_MSGSEND = YES;
Expand Down Expand Up @@ -2227,7 +2243,7 @@
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "-";
CODE_SIGN_IDENTITY = "Apple Development";
COMBINE_HIDPI_IMAGES = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
ENABLE_NS_ASSERTIONS = NO;
Expand Down

0 comments on commit 10fd4e2

Please sign in to comment.