-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(APU Database): Add ability to override APUEntry using DMI data.
- Adds new APU dattabase where the Model Name matches entry. - Simplifies how APU features are detected.
- Loading branch information
1 parent
d632649
commit c607ca8
Showing
2 changed files
with
86 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[gd_resource type="Resource" script_class="APUDatabase" load_steps=8 format=3 uid="uid://jbsrng73ql4j"] | ||
|
||
[ext_resource type="Script" path="res://core/platform/hardware/apu_entry.gd" id="1_2ndxe"] | ||
[ext_resource type="Script" path="res://core/platform/hardware/apu_database.gd" id="1_pyvkk"] | ||
|
||
[sub_resource type="Resource" id="Resource_42d24"] | ||
script = ExtResource("1_2ndxe") | ||
model_name = "NEO-01" | ||
min_tdp = 8.0 | ||
max_tdp = 28.0 | ||
max_boost = 4.0 | ||
|
||
[sub_resource type="Resource" id="Resource_3vns2"] | ||
script = ExtResource("1_2ndxe") | ||
model_name = "AIR" | ||
min_tdp = 5.0 | ||
max_tdp = 15.0 | ||
max_boost = 0.0 | ||
|
||
[sub_resource type="Resource" id="Resource_w0hoe"] | ||
script = ExtResource("1_2ndxe") | ||
model_name = "AIR Pro" | ||
min_tdp = 5.0 | ||
max_tdp = 18.0 | ||
max_boost = 0.0 | ||
|
||
[sub_resource type="Resource" id="Resource_5sfce"] | ||
script = ExtResource("1_2ndxe") | ||
model_name = "ROG Ally RC71L_RC71L" | ||
min_tdp = 8.0 | ||
max_tdp = 30.0 | ||
max_boost = 10.0 | ||
|
||
[sub_resource type="Resource" id="Resource_4wd0b"] | ||
script = ExtResource("1_2ndxe") | ||
model_name = "ROG Ally RC71L" | ||
min_tdp = 8.0 | ||
max_tdp = 30.0 | ||
max_boost = 10.0 | ||
|
||
[resource] | ||
script = ExtResource("1_pyvkk") | ||
apu_list = Array[ExtResource("1_2ndxe")]([SubResource("Resource_42d24"), SubResource("Resource_3vns2"), SubResource("Resource_w0hoe"), SubResource("Resource_5sfce"), SubResource("Resource_4wd0b")]) | ||
database_name = "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters