Skip to content

Commit

Permalink
vitagl library broke dependency usage. fix (partial)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattthw committed Mar 27, 2022
1 parent aa4f48d commit b47e331
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LIBS = -lvitaGL -lvorbisfile -lvorbis -logg -lspeexdsp -lmpg123 -lScePspnetAdho
-lc -lSceCommonDialog_stub -lSceAudio_stub -lSceLibKernel_stub -lmathneon \
-lSceNet_stub -lSceNetCtl_stub -lpng -lSceDisplay_stub -lSceGxm_stub \
-lSceSysmodule_stub -lSceCtrl_stub -lSceTouch_stub -lSceMotion_stub -lm -lSceAppMgr_stub \
-lSceAppUtil_stub -lScePgf_stub -ljpeg -lSceRtc_stub -lScePower_stub -lcurl -lssl -lcrypto -lz
-lSceAppUtil_stub -lScePgf_stub -lSceKernelDmacMgr_stub -lvitashark -lSceShaccCg_stub -ljpeg -lSceRtc_stub -lScePower_stub -lcurl -lssl -lcrypto -lz

COMMON_OBJS = source/chase.o \
source/cl_demo.o \
Expand Down
2 changes: 2 additions & 0 deletions source/gl_draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// draw.c -- this is the only file outside the refresh that touches the
// vid buffer

#include <psp2/io/fcntl.h>

extern "C"{
#include "quakedef.h"
extern unsigned short CRC_Block(byte *data, int size);
Expand Down
3 changes: 3 additions & 0 deletions source/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

#include "quakedef.h"
#include "net_dgrm.h"
#include <psp2/pspnet_adhoc.h>
#include <psp2/pspnet_adhocctl.h>
#include <psp2/netcheck_dialog.h>

char res_string[256];
CVAR (vid_vsync, 1, CVAR_ARCHIVE)
Expand Down

0 comments on commit b47e331

Please sign in to comment.