diff options
author | 2018-05-13 19:09:45 +0200 | |
---|---|---|
committer | 2018-05-13 19:17:22 +0200 | |
commit | 05ca2a543b8871123a4ead1518029ab8f824cab6 (patch) | |
tree | 907e9660b3d958fee95e873faa622fadc8ec1ca4 | |
parent | 83805a56ef0d9a3d1f4048acf8bb616dbc6f2afa (diff) |
make method constant (nw)
-rw-r--r-- | src/devices/machine/i82371sb.h | 2 | ||||
-rw-r--r-- | src/devices/machine/pci.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/i82371sb.h b/src/devices/machine/i82371sb.h index 5b239304659..5d5f20358b5 100644 --- a/src/devices/machine/i82371sb.h +++ b/src/devices/machine/i82371sb.h @@ -50,7 +50,7 @@ protected: virtual void map_extra(uint64_t memory_window_start, uint64_t memory_window_end, uint64_t memory_offset, address_space *memory_space, uint64_t io_window_start, uint64_t io_window_end, uint64_t io_offset, address_space *io_space) override; - virtual bool map_first() override { return true; } + virtual bool map_first() const override { return true; } virtual void config_map(address_map &map) override; diff --git a/src/devices/machine/pci.h b/src/devices/machine/pci.h index 14d0dd10859..19ecddafb4e 100644 --- a/src/devices/machine/pci.h +++ b/src/devices/machine/pci.h @@ -42,7 +42,7 @@ public: uint64_t io_window_start, uint64_t io_window_end, uint64_t io_offset, address_space *io_space); // Specify if this device must be mapped before all the others on the pci bus - virtual bool map_first() { return false; } + virtual bool map_first() const { return false; } void map_config(uint8_t device, address_space *config_space); |