SAM: Final (?) noir mode fix
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
|Cc:||Game:||Sam and Max|
Currently, Sam & Max ends noir mode by reloading the palette. Unfortunately this also undoes any palette manipulation (darkening, etc.) that the game may have made. For instance, in Sam's and Max's office, if you turn on noir mode, turn off the light, and turn off noir mode, the room will no longer appear dark.
This isn't really a ScummVM bug, since the same behaviour can be seen with the original interpreter as well. But since our implementation of noir mode never touches ScummVM's palette, there's no need to reload the palette. We just have to mark all colours as dirty and let updatePalette() do the rest.
So that's what this patch does.
Ticket imported from: #651882. Ticket imported from: patches/249.