Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.ps2
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ LDFLAGS += -L$(PS2DEV)/gsKit/lib -L$(PS2SDK)/ports/lib -L.
# Lib cdvd is needed to get proper time
LIBS += -lpatches -lgskit -ldmakit -lps2_drivers -lz -lelf-loader

CFLAGS = $(OPTIMIZE_LV) $(DISABLE_WARNINGS) $(DEFINES) -DPS2 -fsingle-precision-constant
CFLAGS = $(OPTIMIZE_LV) $(DISABLE_WARNINGS) $(DEFINES) -DPS2 -fsingle-precision-constant -ffast-math
ASFLAGS = $(CFLAGS)

EE_OBJS += $(OBJ)
Expand Down
2 changes: 1 addition & 1 deletion Makefile.ps2.salamander
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ endif

INCDIR = -Ilibretro-common/include
INCDIR += -I$(PS2SDK)/ports/include
CFLAGS = $(OPTIMIZE_LV) $(DISABLE_WARNINGS) -fsingle-precision-constant
CFLAGS = $(OPTIMIZE_LV) $(DISABLE_WARNINGS) -fsingle-precision-constant -ffast-math
ASFLAGS = $(CFLAGS)

RARCH_DEFINES += -DPS2 -DIS_SALAMANDER -DRARCH_CONSOLE
Expand Down
9 changes: 7 additions & 2 deletions frontend/drivers/platform_ps2.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,16 @@ static void init_drivers(bool extra_drivers)
{
init_fileXio_driver();
init_memcard_driver(true);
init_usb_driver();
init_usb_driver(true);
init_mx4sio_driver(true);
init_cdfs_driver();
bool only_if_booted_from_hdd = true;
#if defined(DEBUG) && !defined(BUILD_FOR_PCSX2)
only_if_booted_from_hdd = false;
#else
init_poweroff_driver();
#endif
init_dev9_driver();
hddStatus = init_hdd_driver(false, only_if_booted_from_hdd);

#ifndef IS_SALAMANDER
Expand Down Expand Up @@ -238,8 +240,11 @@ static void deinit_drivers(bool deinit_filesystem, bool deinit_powerOff)
{
umount_hdd_partition(mountString);

deinit_dev9_driver();
deinit_hdd_driver(false);
deinit_usb_driver();
deinit_cdfs_driver();
deinit_mx4sio_driver(true);
deinit_usb_driver(true);
deinit_memcard_driver(true);
deinit_fileXio_driver();

Expand Down
2 changes: 1 addition & 1 deletion gfx/drivers/ps2_gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ font_renderer_t ps2_font = {
*/

/* PRIVATE METHODS */
static int vsync_handler(void)
static int vsync_handler(int reason)
{
iSignalSema(vsync_sema_id);

Expand Down
Loading