mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-05-23 20:15:10 +02:00
Nothing interesting in this commit, just moving files around, making sure every target compiles every file, and controlling with macros instead. Basic support for fxg3a target in CMakeLists.txt, cmake/FindGint.cmake, giteapc.make and include/gint/config.h.in. The rest is forgettable.
11 lines
203 B
C
11 lines
203 B
C
#include <gint/display.h>
|
|
#include <gint/config.h>
|
|
#if GINT_RENDER_RGB
|
|
|
|
int dgetpixel(int x, int y)
|
|
{
|
|
if((uint)x >= DWIDTH || (uint)y >= DHEIGHT) return -1;
|
|
return gint_vram[DWIDTH * y + x];
|
|
}
|
|
|
|
#endif
|