Revision b21e9863

b/hw/blizzard_template.h
51 51
                const uint16_t *src, unsigned int width)
52 52
{
53 53
#if !defined(SWAP_WORDS) && DEPTH == 16
54
    memcpy(dest, src, width << 1);
54
    memcpy(dest, src, width);
55 55
#else
56 56
    uint16_t data;
57 57
    unsigned int r, g, b;
58
    const uint16_t *end = (void *) src + width;
58
    const uint16_t *end = (const void *) src + width;
59 59
    while (src < end) {
60 60
        data = lduw_raw(src ++);
61 61
        b = (data & 0x1f) << 3;

Also available in: Unified diff