Add missing override statements.

This commit is contained in:
joevt 2024-08-25 17:36:33 -07:00 committed by dingusdev
parent aeac232e12
commit 6c093e141b
3 changed files with 11 additions and 11 deletions

View File

@ -74,10 +74,10 @@ public:
BanditHost(int bridge_num) { this->bridge_num = bridge_num; };
// MMIODevice methods
uint32_t read(uint32_t rgn_start, uint32_t offset, int size);
void write(uint32_t rgn_start, uint32_t offset, uint32_t value, int size);
uint32_t read(uint32_t rgn_start, uint32_t offset, int size) override;
void write(uint32_t rgn_start, uint32_t offset, uint32_t value, int size) override;
int device_postinit();
int device_postinit() override;
protected:
uint32_t config_addr;

View File

@ -79,15 +79,15 @@ public:
return std::unique_ptr<MPC106>(new MPC106());
}
uint32_t read(uint32_t rgn_start, uint32_t offset, int size);
void write(uint32_t rgn_start, uint32_t offset, uint32_t value, int size);
uint32_t read(uint32_t rgn_start, uint32_t offset, int size) override;
void write(uint32_t rgn_start, uint32_t offset, uint32_t value, int size) override;
int device_postinit();
int device_postinit() override;
protected:
/* my own PCI configuration registers access */
uint32_t pci_cfg_read(uint32_t reg_offs, AccessDetails &details);
void pci_cfg_write(uint32_t reg_offs, uint32_t value, AccessDetails &details);
uint32_t pci_cfg_read(uint32_t reg_offs, AccessDetails &details) override;
void pci_cfg_write(uint32_t reg_offs, uint32_t value, AccessDetails &details) override;
void setup_ram(void);

View File

@ -72,9 +72,9 @@ protected:
void set_depth_internal(int width);
void enable_video_internal();
void disable_video_internal();
void convert_frame_1bpp_indexed(uint8_t *dst_buf, int dst_pitch);
void convert_frame_2bpp_indexed(uint8_t *dst_buf, int dst_pitch);
void convert_frame_4bpp_indexed(uint8_t *dst_buf, int dst_pitch);
void convert_frame_1bpp_indexed(uint8_t *dst_buf, int dst_pitch) override;
void convert_frame_2bpp_indexed(uint8_t *dst_buf, int dst_pitch) override;
void convert_frame_4bpp_indexed(uint8_t *dst_buf, int dst_pitch) override;
private:
uint8_t video_mode;