Skip to content

Commit

Permalink
This is vAmiga v3.0b2
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkwhoffmann committed Sep 20, 2024
1 parent f5c1d71 commit dab5b00
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
9 changes: 6 additions & 3 deletions Emulator/Components/CIA/CIA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,12 @@ CIA::cacheStats(CIAStats &result) const
{
{ SYNCHRONIZED

result.idleSince = idleSince();
result.idleTotal = idleTotal() + result.idleSince;
result.idlePercentage = clock ? (double)result.idleTotal / (double)clock : 100.0;
auto idle = idleSince();
auto total = idleTotal() + idle;

result.idleSince = idle;
result.idleTotal = total;
result.idlePercentage = clock ? double(total) / double(clock + idle) : 100.0;
}
}

Expand Down
4 changes: 2 additions & 2 deletions Emulator/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
#define VER_MAJOR 3
#define VER_MINOR 0
#define VER_SUBMINOR 0
#define VER_BETA 1
#define VER_BETA 2

// Snapshot version number
#define SNP_MAJOR 3
#define SNP_MINOR 0
#define SNP_SUBMINOR 0
#define SNP_BETA 1
#define SNP_BETA 2

// Uncomment this setting in a release build
// #define RELEASEBUILD
Expand Down
8 changes: 4 additions & 4 deletions vAmiga.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2868,7 +2868,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 240915;
CURRENT_PROJECT_VERSION = 240920;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = "";
ENABLE_APP_SANDBOX = NO;
Expand All @@ -2889,7 +2889,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 3.0b1;
MARKETING_VERSION = 3.0b2;
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 c++20";
PRODUCT_BUNDLE_IDENTIFIER = dirkwhoffmann.vAmiga;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -2919,7 +2919,7 @@
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
CODE_SIGN_STYLE = Manual;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 240915;
CURRENT_PROJECT_VERSION = 240920;
DEAD_CODE_STRIPPING = YES;
DEVELOPMENT_TEAM = "";
ENABLE_APP_SANDBOX = NO;
Expand All @@ -2938,7 +2938,7 @@
);
LLVM_LTO = YES_THIN;
MACOSX_DEPLOYMENT_TARGET = 11.0;
MARKETING_VERSION = 3.0b1;
MARKETING_VERSION = 3.0b2;
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "gnu17 c++20";
PRODUCT_BUNDLE_IDENTIFIER = dirkwhoffmann.vAmiga;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down

0 comments on commit dab5b00

Please sign in to comment.