mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(Wii) Use Griffin
This commit is contained in:
parent
3b4644cd16
commit
fe38d090b3
@ -26,7 +26,7 @@ CXXFLAGS += -Wall -std=gnu99 $(MACHDEP) $(INCLUDE)
|
|||||||
LDFLAGS := $(MACHDEP)
|
LDFLAGS := $(MACHDEP)
|
||||||
LIBS := -lfat -lretro -lwiiuse -logc -lbte -lfreetype
|
LIBS := -lfat -lretro -lwiiuse -logc -lbte -lfreetype
|
||||||
|
|
||||||
OBJ = wii/main.o fifo_buffer.o ssnes.o driver.o gfx/fonts.o file.o file_path.o settings.o message.o rewind.o movie.o patch.o compat/compat.o screenshot.o audio/hermite.o dynamic.o audio/utils.o conf/config_file.o wii/audio.o wii/input.o wii/video.o console/sgui/sgui.o console/sgui/list.o console/font.bmpobj console/console_ext.o console/szlib/szlib.o
|
OBJ = console/griffin/griffin.o console/font.bmpobj console/szlib/szlib.o
|
||||||
|
|
||||||
ifeq ($(HAVE_LOGGER), 1)
|
ifeq ($(HAVE_LOGGER), 1)
|
||||||
CFLAGS += -DHAVE_LOGGER
|
CFLAGS += -DHAVE_LOGGER
|
||||||
@ -37,7 +37,7 @@ ifeq ($(HAVE_FILE_LOGGER), 1)
|
|||||||
CFLAGS += -DHAVE_FILE_LOGGER
|
CFLAGS += -DHAVE_FILE_LOGGER
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -std=gnu99 -DSSNES_CONSOLE -DHAVE_CONFIGFILE=1 -DGEKKO -DHW_RVL -DHAVE_ZLIB -DHAVE_SSNES_MAIN_WRAP -DHAVE_FREETYPE -DPACKAGE_VERSION=\"0.9.5\" -Dmain=ssnes_main -Wno-char-subscripts -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT)
|
CFLAGS += -std=gnu99 -DSSNES_CONSOLE -DHAVE_CONFIGFILE=1 -DGEKKO -DHW_RVL -DHAVE_ZLIB -DHAVE_SSNES_MAIN_WRAP -DHAVE_FREETYPE -DHAVE_GRIFFIN=1 -DPACKAGE_VERSION=\"0.9.5\" -Dmain=ssnes_main -Wno-char-subscripts -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT)
|
||||||
|
|
||||||
ifeq ($(DEBUG), 1)
|
ifeq ($(DEBUG), 1)
|
||||||
CFLAGS += -O0 -g
|
CFLAGS += -O0 -g
|
||||||
|
@ -57,7 +57,6 @@ VIDEO
|
|||||||
#include "../../360/fonts.cpp"
|
#include "../../360/fonts.cpp"
|
||||||
#elif defined(GEKKO)
|
#elif defined(GEKKO)
|
||||||
#include "../../gfx/fonts.c"
|
#include "../../gfx/fonts.c"
|
||||||
#include "../font.bmp"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
@ -168,12 +167,16 @@ SSNES
|
|||||||
/*============================================================
|
/*============================================================
|
||||||
THREAD
|
THREAD
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
#ifndef GEKKO
|
||||||
#include "../../thread.c"
|
#include "../../thread.c"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
NETPLAY
|
NETPLAY
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
#ifndef GEKKO
|
||||||
#include "../../netplay.c"
|
#include "../../netplay.c"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*============================================================
|
/*============================================================
|
||||||
MENU
|
MENU
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
#define video_focus_func() wii_focus(driver.video_data)
|
#define video_focus_func() wii_focus(driver.video_data)
|
||||||
#define video_xml_shader_func(path) driver.video->xml_shader(driver.video_data, path)
|
#define video_xml_shader_func(path) driver.video->xml_shader(driver.video_data, path)
|
||||||
#define video_free_func() wii_free(driver.video_data)
|
#define video_free_func() wii_free(driver.video_data)
|
||||||
#define video_set_rotation_func(orientation) wii_set_orientation(driver.video_data, orientation)
|
#define video_set_rotation_func(orientation) wii_set_rotation(driver.video_data, orientation)
|
||||||
#define video_set_aspect_ratio_func(aspectratio_idx) wii_set_aspect_ratio(driver.video_data, aspectratio_idx)
|
#define video_set_aspect_ratio_func(aspectratio_idx) wii_set_aspect_ratio(driver.video_data, aspectratio_idx)
|
||||||
|
|
||||||
#define input_init_func() wii_input_initialize()
|
#define input_init_func() wii_input_initialize()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user