Adapt to latest changes in great-refactor

This commit is contained in:
fincs 2015-11-11 21:50:43 +01:00
parent d1f93d99bb
commit bd913bb93e
3 changed files with 23 additions and 1 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
Thumbs.db
build/
lib/
bin/

20
examples/Makefile Normal file
View File

@ -0,0 +1,20 @@
SUBDIRS:= $(shell ls | egrep -v '^(CVS)$$')
DATESTRING := $(shell date +%Y)$(shell date +%m)$(shell date +%d)
#---------------------------------------------------------------------------------
all: examples
#---------------------------------------------------------------------------------
@rm -fr bin
@mkdir -p bin
@find . -name "*.3dsx" ! -path "./bin/*" -exec cp -fv {} bin \;
examples:
@for i in $(SUBDIRS); do if test -e $$i/Makefile ; then $(MAKE) -C $$i || { exit 1;} fi; done;
#---------------------------------------------------------------------------------
clean:
#---------------------------------------------------------------------------------
@rm -fr bin
@rm -f *.bz2
@for i in $(SUBDIRS); do if test -e $$i/Makefile ; then $(MAKE) -C $$i clean || { exit 1;} fi; done;

View File

@ -35,13 +35,14 @@ static void C3Di_SetTex(GPU_TEXUNIT unit, C3D_Tex* tex)
static aptHookCookie hookCookie;
static void C3Di_AptEventHook(int hookType, void* param)
static void C3Di_AptEventHook(APT_HookType hookType, void* param)
{
C3D_Context* ctx = C3Di_GetContext();
switch (hookType)
{
case APTHOOK_ONSUSPEND:
default:
{
break;
}