mirror of
https://github.com/RGBCube/serenity
synced 2025-07-01 17:22:06 +00:00
Kernel: Use a const reference to RegisterState in IRQ handling
This commit is contained in:
parent
aa43314e8b
commit
e880fe0765
26 changed files with 27 additions and 27 deletions
|
@ -207,7 +207,7 @@ void SB16::dma_start(uint32_t length)
|
|||
IO::out8(0xd4, (channel % 4));
|
||||
}
|
||||
|
||||
void SB16::handle_irq(RegisterState&)
|
||||
void SB16::handle_irq(const RegisterState&)
|
||||
{
|
||||
// Stop sound output ready for the next block.
|
||||
dsp_write(0xd5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue