Previous | 199869 Revisions | Next |
r112206 Thursday 20th September, 2018 at 04:32:59 UTC by Vasantha Crabb |
---|
(nw) Fix inadvertently non-const pointers - emu.h edition This fixes all the non-const pointers with static lifetime I could find with a cheap grep (in combination with the last commit). There are likely more lurking that I didn't find, and things that aren't pointers that should be made const. There are still a few mutable static pointers that break the ability to host multiple drivers but these require refactoring to fix: src/devices/sound/sidvoice.cpp:static const uint8_t* waveform30; src/devices/sound/sidvoice.cpp:static const uint8_t* waveform50; src/devices/sound/sidvoice.cpp:static const uint8_t* waveform60; src/devices/sound/sidvoice.cpp:static const uint8_t* waveform70; src/mame/drivers/pockstat.cpp: static const char *gme_id = "123-456-STD"; src/mame/machine/namco51.cpp: static const game_driver *namcoio_51XX_driver = nullptr; |
[src/lib/util] | hash.cpp hash.h |
https://github.com/mamedev/mame/commit/b98658573b11ecb8afce4ca340866e56131b4dc8 |
Previous | 199869 Revisions | Next |