mirror of https://github.com/xemu-project/xemu.git
nv2a: Support NV062_SET_COLOR_FORMAT_LE_Y32 blitting
This commit is contained in:
parent
cc6d19e099
commit
0b9a2e1a8f
|
@ -756,6 +756,7 @@
|
|||
# define NV062_SET_COLOR_FORMAT_LE_R5G6B5 0x04
|
||||
# define NV062_SET_COLOR_FORMAT_LE_X8R8G8B8 0x07
|
||||
# define NV062_SET_COLOR_FORMAT_LE_A8R8G8B8 0x0A
|
||||
# define NV062_SET_COLOR_FORMAT_LE_Y32 0x0B
|
||||
# define NV062_SET_PITCH 0x00000304
|
||||
# define NV062_SET_OFFSET_SOURCE 0x00000308
|
||||
# define NV062_SET_OFFSET_DESTIN 0x0000030C
|
||||
|
|
|
@ -862,6 +862,7 @@ int pgraph_method(NV2AState *d, unsigned int subchannel,
|
|||
break;
|
||||
case NV062_SET_COLOR_FORMAT_LE_A8R8G8B8:
|
||||
case NV062_SET_COLOR_FORMAT_LE_X8R8G8B8:
|
||||
case NV062_SET_COLOR_FORMAT_LE_Y32:
|
||||
bytes_per_pixel = 4;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue