Skip to content

Commit

Permalink
remove mtune=generic
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanvb committed Feb 5, 2023
1 parent 40c48bd commit 8db4a5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ ifeq ($(platform), unix)
SHARED := -shared -Wl,-version-script=link.T -Wl,-no-undefined
CC ?= gcc
CXX ?= g++
PLATFORM_DEFINES += -mtune=generic
LDFLAGS += -Wl,--as-needed
else ifneq (,$(findstring linux-portable,$(platform)))
TARGET := $(TARGET_NAME)_libretro.so
Expand Down
4 changes: 1 addition & 3 deletions core/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,14 @@ void set_frame_time_cb(retro_usec_t usec)
}

/* LED interface */

static unsigned int retro_led_state[2] = {0};

static void update_led_interface(void)
{

unsigned int led_state[2] = {0};
unsigned int l = 0;

// TODO: power LED should go off during reset (even though original machine had no such thing)
led_state[0] = 1;
if (core)
led_state[1] = core->vm->getFloppyDriveLEDState() ? 1 : 0;
Expand All @@ -189,7 +188,6 @@ static void update_led_interface(void)
{
if (retro_led_state[l] != led_state[l])
{
//log_cb(RETRO_LOG_DEBUG, "LED control: state (%u)\n",core->vm->getFloppyDriveLEDState());
log_cb(RETRO_LOG_DEBUG, "LED control: change LED nr. %d (%d)->(%d)\n",l,retro_led_state[l],led_state[l]);
retro_led_state[l] = led_state[l];
led_state_cb(l, led_state[l]);
Expand Down

0 comments on commit 8db4a5b

Please sign in to comment.