mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-22 21:09:52 +00:00
fix typo + remove branch from CI
This commit is contained in:
parent
14b230b9cf
commit
ca25d536e1
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -6,7 +6,6 @@ on:
|
||||
- master
|
||||
# For testing.
|
||||
- actions
|
||||
- serena/battery-stuff
|
||||
tags:
|
||||
- "v*.*"
|
||||
paths-ignore:
|
||||
|
@ -29,7 +29,7 @@ void _powerSourceRunLoopCallback(void * __unused ctx) {
|
||||
// You may ask,
|
||||
// "Why an entire class?
|
||||
// Why not just call the UIDevice/IOKitPowerSource functions every time getCurrentBatteryCapacity() is called?"
|
||||
// Well, calling the UIDevice/IOKitPowerSource very frequently is expensive
|
||||
// Well, calling the UIDevice/IOKitPowerSource functions very frequently (every second, it seems?) is expensive
|
||||
// So, instead, I made a class with a cached batteryLevel property
|
||||
// that only gets set when it needs to.
|
||||
@implementation AppleBatteryClient
|
||||
|
Loading…
Reference in New Issue
Block a user