platinum: Implement VRAM_REFRESH read.

This commit is contained in:
joevt 2024-05-04 22:16:48 -07:00 committed by dingusdev
parent 99972307dc
commit a593a4a73e

View File

@ -148,6 +148,9 @@ uint32_t PlatinumCtrl::read(uint32_t rgn_start, uint32_t offset, int size) {
case PlatinumReg::FB_TEST: case PlatinumReg::FB_TEST:
value = this->fb_test; value = this->fb_test;
break; break;
case PlatinumReg::VRAM_REFRESH:
value = this->vram_refresh;
break;
case PlatinumReg::SWATCH_CONFIG: case PlatinumReg::SWATCH_CONFIG:
value = this->swatch_config; value = this->swatch_config;
break; break;