Adapt to latest changes in great-refactor
This commit is contained in:
parent
d1f93d99bb
commit
bd913bb93e
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,3 +5,4 @@
|
||||
Thumbs.db
|
||||
build/
|
||||
lib/
|
||||
bin/
|
||||
|
20
examples/Makefile
Normal file
20
examples/Makefile
Normal 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;
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user