PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
DoubleBuff.c
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# (c) 2009 Lion
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
11
#include <
errno.h
>
12
#include <
stdio.h
>
13
#include <
kernel.h
>
14
#include <
libgs.h
>
15
16
#include "internal.h"
17
18
static
short
int
gs_db_draw_buffer=0;
19
20
int
GsDbGetDrawBuffer(
void
)
21
{
22
return
gs_db_draw_buffer;
23
}
24
25
int
GsDbGetDisplayBuffer(
void
)
26
{
27
return
(gs_db_draw_buffer? 0: 1);
28
}
29
30
void
GsDbSwapBuffer(
void
)
31
{
32
gs_db_draw_buffer = gs_db_draw_buffer? 0: 1;
33
}
errno.h
kernel.h
libgs.h
stdio.h
ee
libgs
src
DoubleBuff.c
Generated on Thu Nov 14 2024 05:25:25 for PS2SDK by
1.9.8