mirror of https://github.com/xemu-project/xemu.git
nv2a: Add NV062_SET_COLOR_FORMAT_LE_X8R8G8B8 definition
This commit is contained in:
parent
dbc73bbd82
commit
df940c0b3f
|
@ -750,6 +750,7 @@
|
|||
# define NV062_SET_COLOR_FORMAT 0x00000300
|
||||
# define NV062_SET_COLOR_FORMAT_LE_Y8 0x01
|
||||
# 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_PITCH 0x00000304
|
||||
# define NV062_SET_OFFSET_SOURCE 0x00000308
|
||||
|
|
|
@ -845,6 +845,7 @@ int pgraph_method(NV2AState *d, unsigned int subchannel,
|
|||
bytes_per_pixel = 2;
|
||||
break;
|
||||
case NV062_SET_COLOR_FORMAT_LE_A8R8G8B8:
|
||||
case NV062_SET_COLOR_FORMAT_LE_X8R8G8B8:
|
||||
bytes_per_pixel = 4;
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue