diff --git a/hw/xbox/nv2a/nv2a_regs.h b/hw/xbox/nv2a/nv2a_regs.h index af573623ba..dde8da47a5 100644 --- a/hw/xbox/nv2a/nv2a_regs.h +++ b/hw/xbox/nv2a/nv2a_regs.h @@ -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 diff --git a/hw/xbox/nv2a/pgraph.c b/hw/xbox/nv2a/pgraph.c index c388cc414c..fc9866a644 100644 --- a/hw/xbox/nv2a/pgraph.c +++ b/hw/xbox/nv2a/pgraph.c @@ -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: