added more register to the write fct of PPU

This commit is contained in:
Clément Le Bihan
2020-01-28 17:15:38 +01:00
parent 9f10efa630
commit 8e732cf092
2 changed files with 8 additions and 1 deletions
+7
View File
@@ -56,6 +56,13 @@ namespace ComSquare::PPU
case 0x0A:
this->bg4sc.raw = data;
break;
case 0x0B:
this->bg12nba.raw = data;
break;
case 0x0C:
this->bg34nba.raw = data;
break;
//TODO adding the rest of the registers. ooof !
default:
throw InvalidAddress("PPU Internal Registers write", addr);
}