]> git.proxmox.com Git - mirror_qemu.git/commit
ati-vga: Fix frame buffer endianness for big endian target
authorBALATON Zoltan <balaton@eik.bme.hu>
Wed, 3 Jul 2019 10:56:50 +0000 (12:56 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Jul 2019 07:50:33 +0000 (09:50 +0200)
commita38127414bd007c5b6ae64c664d9e8839393277e
tree36d75753f71f81a35d79d3d9e413ee1bc89f527d
parentc799d2ee7e92433128ed9256a5fcc35f40f2f6c2
ati-vga: Fix frame buffer endianness for big endian target

The extended mode frame buffer should be little endian even when
emulating big endian machine (such as PPC). This fixes color problems
with MorphOS.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-id: 439aa85061f103446df7b42632d730971a372432.1562151410.git.balaton@eik.bme.hu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/ati.c
hw/display/ati_2d.c