drc: inv: fix ram ofset and mirror handling
[pcsx_rearmed.git] / Makefile
index 9c7cba9..f08d9d7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,6 +11,7 @@ ARM926 ?= 0
 ARM_CORTEXA8 ?= 1
 PLATFORM ?= pandora
 USE_OSS ?= 1
+RAM_FIXED ?= 1
 #USE_ALSA = 1
 #DRC_DBG = 1
 #PCNT = 1
@@ -75,6 +76,9 @@ ifdef DRC_DBG
 libpcsxcore/new_dynarec/emu_if.o: CFLAGS += -D_FILE_OFFSET_BITS=64
 CFLAGS += -DDRC_DBG
 endif
+ifeq "$(RAM_FIXED)" "1"
+CFLAGS += -DRAM_FIXED
+endif
 
 # spu
 OBJS += plugins/dfsound/dma.o plugins/dfsound/freeze.o \
@@ -183,12 +187,14 @@ PLUGINS ?= plugins/spunull/spunull.so plugins/gpu-gles/gpu_gles.so \
        plugins/gpu_unai/gpu_unai.so plugins/dfxvideo/gpu_peops.so
 
 $(PLUGINS):
+       make -C plugins/gpulib/ clean
        make -C $(dir $@)
 
 clean: $(PLAT_CLEAN)
        $(RM) $(TARGET) $(OBJS) $(TARGET).map
 
 clean_plugins:
+       make -C plugins/gpulib/ clean
        for dir in $(PLUGINS) ; do \
                $(MAKE) -C $$(dirname $$dir) clean; done
 
@@ -208,5 +214,6 @@ rel: pcsx $(PLUGINS) \
        rm out/pcsx.pxml.templ
        mv out/*.so out/plugins/
        mv out/plugins/gpu_unai.so out/plugins/gpuPCSX4ALL.so
+       mv out/plugins/gpu_gles.so out/plugins/gpuGLES.so
        mv out/plugins/gpu_peops.so out/plugins/gpuPEOPS.so
        $(PND_MAKE) -p pcsx_rearmed_$(VER).pnd -d out -x out/pcsx.pxml -i frontend/pandora/pcsx.png -c