PS2SDK
PS2 Homebrew Libraries
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
c
d
e
f
g
i
l
m
n
p
q
r
s
t
u
v
Variables
_
c
d
f
g
i
k
m
n
p
q
r
s
t
u
v
w
Typedefs
a
d
h
i
l
m
n
p
r
s
t
w
Enumerations
_
a
c
d
g
i
l
m
n
o
p
s
t
v
Enumerator
c
d
e
g
i
n
p
s
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
z
▼
PS2SDK
PS2SDK - PS2DEV Open Source Project
PS2SDK - KERNEL LIBRARY
remote
►
Topics
►
Data Structures
▼
Files
▼
File List
►
common
►
ee
▼
iop
►
arcade
►
cdvd
►
debug
►
dev9
►
dvrp
►
fs
►
hdd
►
iLink
►
kernel
►
memorycard
►
network
►
security
►
sio
►
sound
►
startup
▼
system
►
alloc
►
boardinf
►
dmacman
►
eeconf
►
eesync
►
excepman
►
heaplib
►
igreeting
►
intrman
►
ioman
►
iomanx
►
iopmgr
►
loadcore
►
loadfile
►
modload
►
mtapman
►
padman
►
reboot
►
rmman
►
sbusintr
►
sifcmd
►
sifinit
►
sifman
►
siftoo
►
sio2man
►
ssbusc
►
stdio
►
sysclib
►
sysmem
►
threadman
►
timrman
►
udnl
▼
vblank
▼
include
►
vblank.h
►
src
►
tcpip
►
usb
►
tools
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
vblank.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
16
#ifndef __VBLANK_H__
17
#define __VBLANK_H__
18
19
#include <
irx.h
>
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
typedef
struct
vblank_ll_
26
{
27
struct
vblank_ll_
*next;
28
struct
vblank_ll_
*prev;
29
}
vblank_ll_t
;
25
typedef
struct
vblank_ll_
{
…
};
30
31
typedef
struct
vblank_item_
32
{
33
vblank_ll_t
ll;
34
int
priority;
35
int (*callback)(
void
*userdata);
36
void
*userdata;
37
}
vblank_item_t
;
31
typedef
struct
vblank_item_
{
…
};
38
39
typedef
struct
vblank_internals_
40
{
41
int
ef;
42
int
item_count;
43
vblank_ll_t
list_00;
44
vblank_ll_t
list_11;
45
vblank_ll_t
list_free;
46
vblank_item_t
list_items[16];
47
}
vblank_internals_t
;
39
typedef
struct
vblank_internals_
{
…
};
48
49
extern
vblank_internals_t
*GetVblankInternalData(
void
);
50
51
extern
void
WaitVblankStart();
52
extern
void
WaitVblankEnd();
53
extern
void
WaitVblank();
54
extern
void
WaitNonVblank();
55
56
extern
int
RegisterVblankHandler(
int
startend,
int
priority,
int
(*handler)(
void
*),
57
void
*arg);
58
extern
int
ReleaseVblankHandler(
int
startend,
int
(*handler)(
void
*));
59
60
#define vblank_IMPORTS_start DECLARE_IMPORT_TABLE(vblank, 1, 1)
61
#define vblank_IMPORTS_end END_IMPORT_TABLE
62
63
#define I_WaitVblankStart DECLARE_IMPORT(4, WaitVblankStart)
64
#define I_WaitVblankEnd DECLARE_IMPORT(5, WaitVblankEnd)
65
#define I_WaitVblank DECLARE_IMPORT(6, WaitVblank)
66
#define I_WaitNonVblank DECLARE_IMPORT(7, WaitNonVblank)
67
#define I_RegisterVblankHandler DECLARE_IMPORT(8, RegisterVblankHandler)
68
#define I_ReleaseVblankHandler DECLARE_IMPORT(9, ReleaseVblankHandler)
69
70
#ifdef __cplusplus
71
}
72
#endif
73
74
#endif
/* __VBLANK_H__ */
irx.h
vblank_internals_
Definition
vblank.h:40
vblank_item_
Definition
vblank.h:32
vblank_ll_
Definition
vblank.h:26
iop
system
vblank
include
vblank.h
Generated on Wed Feb 19 2025 02:05:19 for PS2SDK by
1.12.0