From 9eb2fff01a8118dee6ff7525276c051b189479e9 Mon Sep 17 00:00:00 2001 From: Scott Duensing Date: Sat, 6 Mar 2021 16:52:00 -0600 Subject: [PATCH] Fixed a few modularization bugs. --- joeylib/src/joey.c | 6 +++--- joeylib/src/joey.h | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/joeylib/src/joey.c b/joeylib/src/joey.c index 081aedd..6d8c365 100644 --- a/joeylib/src/joey.c +++ b/joeylib/src/joey.c @@ -555,7 +555,7 @@ void jlDrawLine(jint16 x1, jint16 y1, jint16 x2, jint16 y2) { #endif -#ifndef JL_HAS_DRAWPIXELGIT +#ifndef JL_HAS_DRAWPIXELGET byte jlDrawPixelGet(jint16 x, jint16 y) { (void)x; (void)y; @@ -587,7 +587,7 @@ void jlDrawSurfaceSet(jlSurfaceT target) { #endif -#ifndef JL_HAS_GETGAMEAXIS +#ifndef JL_HAS_GAMEGETAXIS jint16 jlGameGetAxis(byte which) { (void)which; return 0; @@ -595,7 +595,7 @@ jint16 jlGameGetAxis(byte which) { #endif -#ifndef JL_HAS_GETGAMEBUTTON +#ifndef JL_HAS_GAMEGETBUTTON bool jlGameGetButton(byte which) { (void)which; return false; diff --git a/joeylib/src/joey.h b/joeylib/src/joey.h index 37e1d86..72c2cab 100644 --- a/joeylib/src/joey.h +++ b/joeylib/src/joey.h @@ -208,7 +208,6 @@ typedef unsigned long juint32; #pragma lint -1 #pragma debug 0 -#define JL_HAS_DISPLAYBORDER #define JL_HAS_DISPLAYPRESENT #define JL_HAS_DRAWBLIT8X8 #define JL_HAS_DRAWBLIT8X8A