Skip to content

Commit

Permalink
mac fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alphalaneous committed Nov 21, 2024
1 parent 5ee3ebc commit e2c254e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/ui/layers/ExtrasLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ bool ExtrasLayer::init() {

MCButton* dailyChestButton = MCButton::create("Daily Chests", 39.1f, this, menu_selector(MenuLayer::onDaily));
MCButton* achievementsButton = MCButton::create("Achievements", 39.1f, this, menu_selector(MenuLayer::onAchievements));
MCButton* statsButton = MCButton::create("Stats", 39.1f, this, menu_selector(MenuLayer::onStats));
MCButton* statsButton = MCButton::create("Stats", 39.1f, this, menu_selector(MenuLayer::onAchievements));//(MenuLayer::onStats));
MCButton* newgroundsButton = MCButton::create("Newgrounds", 39.1f, this, menu_selector(ExtrasLayer::onNewgrounds));
MCButton* moreGamesButton = MCButton::create("More Games", 39.1f, this, menu_selector(MenuLayer::onMoreGames));

Expand Down
6 changes: 2 additions & 4 deletions src/utils/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class Utils {

static std::string getCPUInfo() {

#ifndef GEODE_IS_ANDROID
#ifdef GEODE_IS_WINDOWS

std::array<int, 4> integerBuffer = {};
constexpr size_t sizeofIntegerBuffer = sizeof(int) * integerBuffer.size();
Expand All @@ -425,9 +425,7 @@ class Utils {

return cpu;

#endif

#ifdef GEODE_IS_ANDROID
#else
return "(null)";
#endif
}
Expand Down

0 comments on commit e2c254e

Please sign in to comment.