demOS
Main Page
Modules
Data Structures
Files
File List
All
Data Structures
Files
Modules
Pages
DEMOSDK
PC
EMUL.H
Go to the documentation of this file.
1
/*------------------------------------------------------------------------------ -----------------
2
Copyright J.Hubert 2015
3
4
This file is part of demOS
5
6
demOS is free software: you can redistribute it and/or modify it under the terms of
7
the GNU Lesser General Public License as published by the Free Software Foundation,
8
either version 3 of the License, or (at your option) any later version.
9
10
demOS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY ;
11
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
See the GNU Lesser General Public License for more details.
13
14
You should have received a copy of the GNU Lesser General Public License along with demOS.
15
If not, see <http://www.gnu.org/licenses/>.
16
------------------------------------------------------------------------------------------------- */
17
26
#include "
DEMOSDK\BASTYPES.H
"
27
28
#ifdef __TOS__
29
30
#define EMULinit()
31
#define EMULrender()
32
#define EMULbufferSize(SIZE) SIZE
33
#define EMULalignBuffer(BUFFER) BUFFER
34
35
#else
36
37
PREDECLARE_STRUCT(WINdow);
38
39
void
EMULinit (
void
);
40
void
EMULrender (
void
);
41
WINdow* EMULgetWindow (
void
);
42
43
#define EMULbufferSize(SIZE) ((SIZE) | 0x1000000UL)
44
#define EMULalignBuffer(BUFFER) (void*)((0x1000000 + (u32)(BUFFER)) & 0xFF000000)
/* align on 16 mb for emulation features */
45
46
#endif
BASTYPES.H
BASTYPES
Generated on Fri Jun 26 2015 22:08:00 for demOS by
1.8.8