Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Buildfix attempt
  • Loading branch information
hrydgard committed Feb 11, 2025
commit 61aa231fe25404ed7b73c29813851cd17b621e3f
2 changes: 2 additions & 0 deletions Common/Battery/AppleBatteryClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// Created by Serena on 24/01/2023.
//

#include "ppsspp_config.h"

#import <Foundation/Foundation.h>

#if PPSSPP_PLATFORM(MAC)
Expand Down
2 changes: 2 additions & 0 deletions SDL/SDLMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,9 @@ std::vector<std::string> System_GetPropertyStringVec(SystemProperty prop) {
}

#if PPSSPP_PLATFORM(MAC)
extern "C" {
int Apple_GetCurrentBatteryCapacity();
}
#endif

int64_t System_GetPropertyInt(SystemProperty prop) {
Expand Down
2 changes: 2 additions & 0 deletions ios/main.mm
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,9 @@ bool jb_enable_ptrace_hack(void) {
}
}

extern "C" {
int Apple_GetCurrentBatteryCapacity();
}

int64_t System_GetPropertyInt(SystemProperty prop) {
switch (prop) {
Expand Down