diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-02-07 12:32:45 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-03-06 19:27:16 -0800 |
| commit | 762fe33a3db823685aa5636bfe5ca372b46f9df7 (patch) | |
| tree | 7151d4e94e01f69690b7a9c2a7ee26524bbaf448 /Source/Core/VideoCommon/BPStructs.cpp | |
| parent | 81b84a5ebefb7396283b49412304544667966d6e (diff) | |
Rename BPMEM_EFB_BR to BPMEM_EFB_WH
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BPStructs.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index 2376fd0840..896aafca30 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -432,7 +432,7 @@ static void BPWritten(const BPCmd& bp) // EFB Copy config // ---------------- case BPMEM_EFB_TL: // EFB Source Rect. Top, Left - case BPMEM_EFB_BR: // EFB Source Rect. Bottom, Right (w, h - 1) + case BPMEM_EFB_WH: // EFB Source Rect. Width, Height - 1 case BPMEM_EFB_ADDR: // EFB Target Address return; // -------------- @@ -995,10 +995,9 @@ void GetBPRegInfo(const u8* data, std::string* name, std::string* desc) } break; - case BPMEM_EFB_BR: // 0x4A + case BPMEM_EFB_WH: // 0x4A { - // TODO: Misleading name, should be BPMEM_EFB_WH instead - SetRegName(BPMEM_EFB_BR); + SetRegName(BPMEM_EFB_WH); X10Y10 width_height; width_height.hex = cmddata; *desc = fmt::format("Width: {}\nHeight: {}", width_height.x + 1, width_height.y + 1); |
