Buildfix attempt

This commit is contained in:
Henrik Rydgård 2025-02-11 10:43:39 -06:00
parent ee772bb1e2
commit 61aa231fe2
3 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,8 @@
// Created by Serena on 24/01/2023.
//
#include "ppsspp_config.h"
#import <Foundation/Foundation.h>
#if PPSSPP_PLATFORM(MAC)

View file

@ -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) {

View file

@ -316,7 +316,9 @@ std::vector<std::string> System_GetPropertyStringVec(SystemProperty prop) {
}
}
extern "C" {
int Apple_GetCurrentBatteryCapacity();
}
int64_t System_GetPropertyInt(SystemProperty prop) {
switch (prop) {