mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-29 20:04:49 +01:00
39 lines
425 B
C
39 lines
425 B
C
#pragma once
|
|
|
|
struct sys_event_queue_attr
|
|
{
|
|
u32 attr_protocol;
|
|
int type;
|
|
char name[8];
|
|
};
|
|
|
|
struct sys_event_data
|
|
{
|
|
u64 source;
|
|
u64 data1;
|
|
u64 data2;
|
|
u64 data3;
|
|
};
|
|
|
|
struct EventQueue;
|
|
|
|
struct EventPort
|
|
{
|
|
u64 name;
|
|
u64 data1;
|
|
u64 data2;
|
|
u64 data3;
|
|
bool has_data;
|
|
CPUThread* thread;
|
|
EventQueue* queue[127];
|
|
int pos;
|
|
};
|
|
|
|
struct EventQueue
|
|
{
|
|
EventPort* ports[127];
|
|
int size;
|
|
int pos;
|
|
int type;
|
|
char name[8];
|
|
}; |