Home
last modified time | relevance | path

Searched refs:bitmapoffsetbits (Results 1 – 4 of 4) sorted by relevance

/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/
H A Dhardfile.c593 int bitmapoffsetbits; in vhd_read() local
597 bitmapoffsetbits = (offset / 512) % (hfd->vhd_blocksize / 512); in vhd_read()
598 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_read()
610 if (hfd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7)))) { in vhd_read()
612 uae_u64 block = sectoroffset * (uae_u64)512 + hfd->vhd_bitmapsize + bitmapoffsetbits * 512; in vhd_read()
686 int bitmapoffsetbits; in vhd_write() local
689 bitmapoffsetbits = (offset / 512) % (hfd->vhd_blocksize / 512); in vhd_write()
690 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_write()
701 … (hfd, dataptr, sectoroffset * (uae_u64)512 + hfd->vhd_bitmapsize + bitmapoffsetbits * 512, 512) !… in vhd_write()
706 if (!(hfd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7))))) { in vhd_write()
[all …]
H A Dzfile.c389 int bitmapoffsetbits; in vhd_fread2() local
393 bitmapoffsetbits = (offset / 512) % (zvhd->vhd_blocksize / 512); in vhd_fread2()
394 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_fread2()
405 if (zvhd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7)))) { in vhd_fread2()
407 int block = sectoroffset * 512 + zvhd->vhd_bitmapsize + bitmapoffsetbits * 512; in vhd_fread2()
/dports/emulators/fs-uae/fs-uae-3.1.35/src/
H A Dhardfile.cpp641 int bitmapoffsetbits; in vhd_read() local
645 bitmapoffsetbits = (offset / 512) % (hfd->vhd_blocksize / 512); in vhd_read()
646 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_read()
658 if (hfd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7)))) { in vhd_read()
660 uae_u64 block = sectoroffset * (uae_u64)512 + hfd->vhd_bitmapsize + bitmapoffsetbits * 512; in vhd_read()
734 int bitmapoffsetbits; in vhd_write() local
737 bitmapoffsetbits = (offset / 512) % (hfd->vhd_blocksize / 512); in vhd_write()
738 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_write()
749 … (hfd, dataptr, sectoroffset * (uae_u64)512 + hfd->vhd_bitmapsize + bitmapoffsetbits * 512, 512) !… in vhd_write()
754 if (!(hfd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7))))) { in vhd_write()
[all …]
H A Dzfile.cpp401 int bitmapoffsetbits; in vhd_fread2() local
405 bitmapoffsetbits = (offset / 512) % (zvhd->vhd_blocksize / 512); in vhd_fread2()
406 bitmapoffsetbytes = bitmapoffsetbits / 8; in vhd_fread2()
417 if (zvhd->vhd_sectormap[bitmapoffsetbytes & 511] & (1 << (7 - (bitmapoffsetbits & 7)))) { in vhd_fread2()
419 int block = sectoroffset * 512 + zvhd->vhd_bitmapsize + bitmapoffsetbits * 512; in vhd_fread2()