mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-11-17 14:24:12 +01:00
use defines instead of value
use defines instead of values for the park_or_pin variable
This commit is contained in:
committed by
afayaz-feral
parent
173a8594b4
commit
740a82a761
@@ -31,10 +31,13 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#define IS_CPU_PARK 0
|
||||||
|
#define IS_CPU_PIN 1
|
||||||
|
|
||||||
/* Storage for CPU info*/
|
/* Storage for CPU info*/
|
||||||
struct GameModeCPUInfo {
|
struct GameModeCPUInfo {
|
||||||
size_t num_cpu;
|
size_t num_cpu;
|
||||||
int park_or_pin; /* 0 to park 1 to pin */
|
int park_or_pin;
|
||||||
cpu_set_t *online;
|
cpu_set_t *online;
|
||||||
cpu_set_t *to_keep;
|
cpu_set_t *to_keep;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user