mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 09:59:32 -06:00
Merge pull request #13586 from Tilka/spr_disasm
GekkoDisassembler: standardize SPR names and add missing ones
This commit is contained in:
@ -203,7 +203,7 @@ static std::string spr_name(int i)
|
|||||||
case 9:
|
case 9:
|
||||||
return "CTR";
|
return "CTR";
|
||||||
case 18:
|
case 18:
|
||||||
return "DSIR";
|
return "DSISR";
|
||||||
case 19:
|
case 19:
|
||||||
return "DAR";
|
return "DAR";
|
||||||
case 22:
|
case 22:
|
||||||
@ -214,6 +214,10 @@ static std::string spr_name(int i)
|
|||||||
return "SRR0";
|
return "SRR0";
|
||||||
case 27:
|
case 27:
|
||||||
return "SRR1";
|
return "SRR1";
|
||||||
|
case 268:
|
||||||
|
return "TBLr";
|
||||||
|
case 269:
|
||||||
|
return "TBUr";
|
||||||
case 272:
|
case 272:
|
||||||
return "SPRG0";
|
return "SPRG0";
|
||||||
case 273:
|
case 273:
|
||||||
@ -224,6 +228,10 @@ static std::string spr_name(int i)
|
|||||||
return "SPRG3";
|
return "SPRG3";
|
||||||
case 282:
|
case 282:
|
||||||
return "EAR";
|
return "EAR";
|
||||||
|
case 284:
|
||||||
|
return "TBLw";
|
||||||
|
case 285:
|
||||||
|
return "TBUw";
|
||||||
case 287:
|
case 287:
|
||||||
return "PVR";
|
return "PVR";
|
||||||
case 528:
|
case 528:
|
||||||
@ -258,6 +266,38 @@ static std::string spr_name(int i)
|
|||||||
return "DBAT3U";
|
return "DBAT3U";
|
||||||
case 543:
|
case 543:
|
||||||
return "DBAT3L";
|
return "DBAT3L";
|
||||||
|
case 560:
|
||||||
|
return "IBAT4U";
|
||||||
|
case 561:
|
||||||
|
return "IBAT4L";
|
||||||
|
case 562:
|
||||||
|
return "IBAT5U";
|
||||||
|
case 563:
|
||||||
|
return "IBAT5L";
|
||||||
|
case 564:
|
||||||
|
return "IBAT6U";
|
||||||
|
case 565:
|
||||||
|
return "IBAT6L";
|
||||||
|
case 566:
|
||||||
|
return "IBAT7U";
|
||||||
|
case 567:
|
||||||
|
return "IBAT7L";
|
||||||
|
case 568:
|
||||||
|
return "DBAT4U";
|
||||||
|
case 569:
|
||||||
|
return "DBAT4L";
|
||||||
|
case 570:
|
||||||
|
return "DBAT5U";
|
||||||
|
case 571:
|
||||||
|
return "DBAT5L";
|
||||||
|
case 572:
|
||||||
|
return "DBAT6U";
|
||||||
|
case 573:
|
||||||
|
return "DBAT6L";
|
||||||
|
case 574:
|
||||||
|
return "DBAT7U";
|
||||||
|
case 575:
|
||||||
|
return "DBAT7L";
|
||||||
case 912:
|
case 912:
|
||||||
return "GQR0";
|
return "GQR0";
|
||||||
case 913:
|
case 913:
|
||||||
@ -279,9 +319,9 @@ static std::string spr_name(int i)
|
|||||||
case 921:
|
case 921:
|
||||||
return "WPAR";
|
return "WPAR";
|
||||||
case 922:
|
case 922:
|
||||||
return "DMA_U";
|
return "DMAU";
|
||||||
case 923:
|
case 923:
|
||||||
return "DMA_L";
|
return "DMAL";
|
||||||
case 924:
|
case 924:
|
||||||
return "ECID_U";
|
return "ECID_U";
|
||||||
case 925:
|
case 925:
|
||||||
@ -328,10 +368,14 @@ static std::string spr_name(int i)
|
|||||||
return "IABR";
|
return "IABR";
|
||||||
case 1011:
|
case 1011:
|
||||||
return "HID4";
|
return "HID4";
|
||||||
|
case 1012:
|
||||||
|
return "TDCL";
|
||||||
case 1013:
|
case 1013:
|
||||||
return "DABR";
|
return "DABR";
|
||||||
case 1017:
|
case 1017:
|
||||||
return "L2CR";
|
return "L2CR";
|
||||||
|
case 1018:
|
||||||
|
return "TDCH";
|
||||||
case 1019:
|
case 1019:
|
||||||
return "ICTC";
|
return "ICTC";
|
||||||
case 1020:
|
case 1020:
|
||||||
|
Reference in New Issue
Block a user