USE_PLUGIN_LIB = 1
USE_FRONTEND = 1
endif
+ifeq "$(PLATFORM)" "miyoo"
+HOMEPATH = /mnt
+OBJS += frontend/libpicofe/in_sdl.o
+OBJS += frontend/libpicofe/linux/in_evdev.o
+OBJS += frontend/libpicofe/plat_dummy.o
+OBJS += frontend/plat_sdl.o
+frontend/main.o frontend/menu.o: CFLAGS += -include frontend/320240/ui_miyoo.h
+USE_PLUGIN_LIB = 1
+USE_FRONTEND = 1
+endif
ifeq "$(PLATFORM)" "maemo"
OBJS += maemo/hildon.o maemo/main.o maemo/maemo_xkb.o frontend/pl_gun_ts.o
maemo/%.o: maemo/%.c
$(PND_MAKE) -p pcsx_rearmed_$(VER).pnd -d out -x out/pcsx.pxml -i frontend/pandora/pcsx.png -c
endif
+ifeq "$(PLATFORM)" "miyoo"
+
+rel: pcsx $(PLUGINS) \
+ frontend/320240/pcsx26.png \
+ frontend/320240/skin \
+ readme.txt COPYING
+ rm -rf out
+ mkdir -p out/pcsx_rearmed/plugins
+ cp -r $^ out/pcsx_rearmed/
+ -mv out/pcsx_rearmed/*.so out/pcsx_rearmed/plugins/
+ mkdir out/pcsx_rearmed/lib/
+ mkdir out/pcsx_rearmed/bios/
+ cd out && zip -9 -r ../pcsx_rearmed_$(VER)_miyoo.zip *
+endif
+
ifeq "$(PLATFORM)" "caanoo"
PLAT_CLEAN = caanoo_clean
# setting options to "yes" or "no" will make that choice default,
# "" means "autodetect".
-platform_list="generic pandora maemo caanoo"
+platform_list="generic pandora maemo caanoo miyoo"
platform="generic"
builtin_gpu_list="neon peops unai"
dynarec_list="ari64 lightrec none"
have_neon_gpu="yes"
multithreading="no"
;;
+ miyoo)
+ sound_drivers="alsa"
+ drc_cache_base="yes"
+ optimize_arm926ej="yes"
+ multithreading="no"
+ ;;
caanoo)
sound_drivers="oss"
drc_cache_base="yes"
maemo)
CFLAGS="$CFLAGS -DMAEMO -DMAEMO_CHANGES"
;;
+miyoo)
+ need_sdl="yes"
+ CFLAGS="$CFLAGS -DMIYOO"
+ ;;
esac
# header/library presence tests
--- /dev/null
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+#ifndef UI_FEATURES_H
+#define UI_FEATURES_H
+
+#define MENU_SHOW_VARSCALER 0
+#define MENU_SHOW_VOUTMODE 0
+#define MENU_SHOW_SCALER2 0
+#define MENU_SHOW_NUBS_BTNS 0
+#define MENU_SHOW_VIBRATION 1
+#define MENU_SHOW_DEADZONE 0
+#define MENU_SHOW_MINIMIZE 0
+#define MENU_SHOW_FULLSCREEN 1
+#define MENU_SHOW_VOLUME 0
+
+#endif