1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-22 19:34:14 +00:00

100l patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8258 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2002-11-23 12:37:06 +00:00
parent 3a9c8f89ae
commit c384686dbc

View File

@ -95,7 +95,9 @@ void navRead_PCI(pci_t *pci, unsigned char *buffer) {
/* pci hli btnit */ /* pci hli btnit */
for(i = 0; i < pci->hli.hl_gi.btngr_ns; i++) { for(i = 0; i < pci->hli.hl_gi.btngr_ns; i++) {
for(j = 0; j < (36 / pci->hli.hl_gi.btngr_ns); j++) { for(j = 0; j < (36 / pci->hli.hl_gi.btngr_ns); j++) {
/* int n = (36 / pci->hli.hl_gi.btngr_ns) * i + j;*/ #ifdef HAVE_ASSERT_H
int n = (36 / pci->hli.hl_gi.btngr_ns) * i + j;
#endif
assert(pci->hli.btnit[n].zero1 == 0); assert(pci->hli.btnit[n].zero1 == 0);
assert(pci->hli.btnit[n].zero2 == 0); assert(pci->hli.btnit[n].zero2 == 0);
assert(pci->hli.btnit[n].zero3 == 0); assert(pci->hli.btnit[n].zero3 == 0);