mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
nv2a: Add NV062_SET_COLOR_FORMAT_LE_X8R8G8B8 definition
This commit is contained in:
committed by
Matt Borgerson
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:
|
||||
|
||||
Reference in New Issue
Block a user