[Cleanup] Cleanup Bug Category Code (#4367)

* [Cleanup] Cleanup Bug Category-based Code

* Command

* Cleanup

* Cleanup

* Cleanup
This commit is contained in:
Alex King
2024-06-01 19:25:02 -04:00
committed by GitHub
parent caa647dc6b
commit 0f0676824c
8 changed files with 136 additions and 97 deletions
+1 -1
View File
@@ -2349,7 +2349,7 @@ namespace SoF
DECODE_LENGTH_EXACT(structs::BugReport_Struct);
SETUP_DIRECT_DECODE(BugReport_Struct, structs::BugReport_Struct);
emu->category_id = EQ::bug::CategoryNameToCategoryID(eq->category_name);
emu->category_id = Bug::GetID(eq->category_name);
memcpy(emu->category_name, eq, sizeof(structs::BugReport_Struct));
FINISH_DIRECT_DECODE();