mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-17 17:48:01 -05:00
GSP: Define more GX commands.
This commit is contained in:
@ -11,6 +11,23 @@
|
||||
|
||||
namespace GSP_GPU {
|
||||
|
||||
enum class GXCommandId : u32 {
|
||||
REQUEST_DMA = 0x00000000,
|
||||
SET_COMMAND_LIST_LAST = 0x00000001,
|
||||
SET_MEMORY_FILL = 0x00000002, // TODO: Confirm? (lictru uses 0x01000102)
|
||||
SET_DISPLAY_TRANSFER = 0x00000003,
|
||||
SET_TEXTURE_COPY = 0x00000004,
|
||||
SET_COMMAND_LIST_FIRST = 0x00000005,
|
||||
};
|
||||
|
||||
union GXCommand {
|
||||
struct {
|
||||
GXCommandId id;
|
||||
};
|
||||
|
||||
u32 data[0x20];
|
||||
};
|
||||
|
||||
/// Interface to "srv:" service
|
||||
class Interface : public Service::Interface {
|
||||
public:
|
||||
|
Reference in New Issue
Block a user