mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-26 07:50:04 +00:00
ppu modified
This commit is contained in:
+5
-1
@@ -62,9 +62,13 @@ namespace ComSquare::PPU
|
||||
case 0x0C:
|
||||
this->bg34nba.raw = data;
|
||||
break;
|
||||
//TODO adding the rest of the registers. ooof !
|
||||
//TODO adding the rest of the registers. oaf !
|
||||
default:
|
||||
throw InvalidAddress("PPU Internal Registers write", addr);
|
||||
}
|
||||
}
|
||||
|
||||
void PPU::update(int cycles) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -390,6 +390,9 @@ namespace ComSquare::PPU
|
||||
//! @param data The new data to write.
|
||||
//! @throw This function should thrown an InvalidAddress for address that are not mapped to the component.
|
||||
void write(uint24_t addr, uint8_t data) override;
|
||||
//! @brief Update the PPU of n cycles.
|
||||
//! @param The number of cycles to update.
|
||||
void update(int cycles);
|
||||
};
|
||||
}
|
||||
#endif //COMSQUARE_PPU_HPP
|
||||
|
||||
Reference in New Issue
Block a user