Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. case 0x19: case 0x1a: case 0x1b:
  2. {
  3. riva128->pci_regs[addr] = val;
  4. riva128->rma_addr = riva128->pci_regs[0x19] << 8;
  5. io_removehandler(riva128->rma_addr, 0x0100, riva128_rma_in, NULL, NULL, riva128_rma_out, NULL, NULL, riva128);
  6. if(riva128->rma_addr)
  7. {
  8. io_sethandler(riva128->rma_addr, 0x0100, riva128_rma_in, NULL, NULL, riva128_rma_out, NULL, NULL, riva128);
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement