repo.or.cz
/
rofl0r-gnuboy.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add SDL2 audio backend
[rofl0r-gnuboy.git]
/
fb.h
blob
c6b337b2faa5942768760a2163d5e6c36d42dae1
1
2
3
#ifndef __FB_H__
4
#define __FB_H__
5
6
7
#include
"defs.h"
8
9
10
11
struct
fb
12
{
13
byte
*
ptr
;
14
int
w
,
h
;
15
int
pelsize
;
16
int
pitch
;
17
int
indexed
;
18
struct
19
{
20
int
l
,
r
;
21
}
cc
[
4
];
22
int
yuv
;
23
int
enabled
;
24
int
dirty
;
25
int
delegate_scaling
;
26
};
27
28
29
extern
struct
fb fb
;
30
31
32
#endif
33
34
35
36