Searched refs:glcopy (Results 1 – 5 of 5) sorted by relevance
/dports/emulators/mess/mame-mame0226/src/emu/ |
H A D | digfx.cpp | 113 gfx_layout glcopy; in decode_gfx() local 183 if (IS_FRAC(glcopy.total)) in decode_gfx() 186 …glcopy.total = region_length / glcopy.charincrement * FRAC_NUM(glcopy.total) / FRAC_DEN(glcopy.tot… in decode_gfx() 195 …memcpy(&extxoffs[0], (glcopy.extxoffs != nullptr) ? glcopy.extxoffs : glcopy.xoffset, glcopy.width… in decode_gfx() 196 …memcpy(&extyoffs[0], (glcopy.extyoffs != nullptr) ? glcopy.extyoffs : glcopy.yoffset, glcopy.heigh… in decode_gfx() 199 glcopy.extxoffs = &extxoffs[0]; in decode_gfx() 205 glcopy.width *= xscale; in decode_gfx() 211 glcopy.height *= yscale; in decode_gfx() 255 while (glcopy.total > 0) in decode_gfx() 257 int elementbase = base + (glcopy.total - 1) * glcopy.charincrement / 8; in decode_gfx() [all …]
|
/dports/emulators/mame/mame-mame0226/src/emu/ |
H A D | digfx.cpp | 113 gfx_layout glcopy; in decode_gfx() local 183 if (IS_FRAC(glcopy.total)) in decode_gfx() 186 …glcopy.total = region_length / glcopy.charincrement * FRAC_NUM(glcopy.total) / FRAC_DEN(glcopy.tot… in decode_gfx() 195 …memcpy(&extxoffs[0], (glcopy.extxoffs != nullptr) ? glcopy.extxoffs : glcopy.xoffset, glcopy.width… in decode_gfx() 196 …memcpy(&extyoffs[0], (glcopy.extyoffs != nullptr) ? glcopy.extyoffs : glcopy.yoffset, glcopy.heigh… in decode_gfx() 199 glcopy.extxoffs = &extxoffs[0]; in decode_gfx() 205 glcopy.width *= xscale; in decode_gfx() 211 glcopy.height *= yscale; in decode_gfx() 255 while (glcopy.total > 0) in decode_gfx() 257 int elementbase = base + (glcopy.total - 1) * glcopy.charincrement / 8; in decode_gfx() [all …]
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/ |
H A D | mame.c | 391 struct GfxLayout glcopy; in vh_open() local 395 memcpy(&glcopy,drv->gfxdecodeinfo[i].gfxlayout,sizeof(glcopy)); in vh_open() 397 if (IS_FRAC(glcopy.total)) in vh_open() 398 glcopy.total = reglen / glcopy.charincrement * FRAC_NUM(glcopy.total) / FRAC_DEN(glcopy.total); in vh_open() 403 glcopy.planeoffset[j] = FRAC_OFFSET(glcopy.planeoffset[j]) + in vh_open() 404 reglen * FRAC_NUM(glcopy.planeoffset[j]) / FRAC_DEN(glcopy.planeoffset[j]); in vh_open() 411 glcopy.xoffset[j] = FRAC_OFFSET(glcopy.xoffset[j]) + in vh_open() 412 reglen * FRAC_NUM(glcopy.xoffset[j]) / FRAC_DEN(glcopy.xoffset[j]); in vh_open() 416 glcopy.yoffset[j] = FRAC_OFFSET(glcopy.yoffset[j]) + in vh_open() 417 reglen * FRAC_NUM(glcopy.yoffset[j]) / FRAC_DEN(glcopy.yoffset[j]); in vh_open() [all …]
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/ |
H A D | mame.c | 869 struct GfxLayout glcopy; in decode_graphics() local 873 glcopy = *gfxdecodeinfo[i].gfxlayout; in decode_graphics() 876 if (IS_FRAC(glcopy.total)) in decode_graphics() 877 …glcopy.total = region_length / glcopy.charincrement * FRAC_NUM(glcopy.total) / FRAC_DEN(glcopy.tot… in decode_graphics() 882 int value = glcopy.planeoffset[j]; in decode_graphics() 890 int value = glcopy.xoffset[j]; in decode_graphics() 894 value = glcopy.yoffset[j]; in decode_graphics() 906 while (glcopy.total > 0) in decode_graphics() 908 int elementbase = base + (glcopy.total - 1) * glcopy.charincrement / 8; in decode_graphics() 909 int lastpixelbase = elementbase + glcopy.height * glcopy.yoffset[0] / 8 - 1; in decode_graphics() [all …]
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/ |
H A D | mame.c | 869 struct GfxLayout glcopy; in decode_graphics() local 873 glcopy = *gfxdecodeinfo[i].gfxlayout; in decode_graphics() 876 if (IS_FRAC(glcopy.total)) in decode_graphics() 877 …glcopy.total = region_length / glcopy.charincrement * FRAC_NUM(glcopy.total) / FRAC_DEN(glcopy.tot… in decode_graphics() 882 int value = glcopy.planeoffset[j]; in decode_graphics() 890 int value = glcopy.xoffset[j]; in decode_graphics() 894 value = glcopy.yoffset[j]; in decode_graphics() 906 while (glcopy.total > 0) in decode_graphics() 908 int elementbase = base + (glcopy.total - 1) * glcopy.charincrement / 8; in decode_graphics() 909 int lastpixelbase = elementbase + glcopy.height * glcopy.yoffset[0] / 8 - 1; in decode_graphics() [all …]
|