File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -320,13 +320,16 @@ endif
320320
321321LDFLAGS += $(LIBM )
322322
323+ DEBUG ?= 0
323324ifeq ($(DEBUG ) , 1)
325+ BUILD_CONFIG = Debug
324326 CXXFLAGS += -O0 -DDEBUG -g
325327else
328+ BUILD_CONFIG = Release
326329 CXXFLAGS += -O3
327330endif
328331
329- GIT_VERSION ?= " $(shell git describe --abbrev=7 --dirty --always --tags || echo unknown) "
332+ GIT_VERSION ?= "$(shell git describe --abbrev=7 --dirty --always --tags || echo unknown) "
330333ifneq ($(GIT_VERSION ) ," unknown")
331334 CXXFLAGS += -DEMULATOR_BUILD=\"$(GIT_VERSION)\"
332335endif
@@ -341,7 +344,7 @@ CFLAGS += -DGEARCOLECO_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ $(fpic)
341344CXXFLAGS += -DGEARCOLECO_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ $(fpic )
342345
343346all : $(TARGET )
344- @echo Build complete: $(TARGET_NAME ) $(DEBUG ) - $(GIT_VERSION ) - $(platform )
347+ @echo Build complete: $(TARGET_NAME ) $(BUILD_CONFIG ) - $(GIT_VERSION ) - $(platform )
345348
346349$(TARGET ) : $(OBJECTS )
347350ifeq ($(STATIC_LINKING ) , 1)
Original file line number Diff line number Diff line change @@ -590,7 +590,7 @@ void retro_run(void)
590590 info.geometry .base_height = runtime_info.screen_height ;
591591 info.geometry .max_width = runtime_info.screen_width ;
592592 info.geometry .max_height = runtime_info.screen_height ;
593- info.geometry .aspect_ratio = 0.0 ;
593+ info.geometry .aspect_ratio = aspect_ratio ;
594594
595595 environ_cb (RETRO_ENVIRONMENT_SET_GEOMETRY, &info.geometry );
596596 }
You can’t perform that action at this time.
0 commit comments