From 7e535e8038841ffa85b0841d0e0ab5195800c454 Mon Sep 17 00:00:00 2001 From: Zack Buhman Date: Thu, 17 Oct 2024 22:49:39 -0500 Subject: [PATCH] common: quote the include path --- common.mk | 4 ++-- holly/core.cpp | 3 ++- holly/ta_fifo_polygon_converter.cpp | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/common.mk b/common.mk index 486af18..c464027 100644 --- a/common.mk +++ b/common.mk @@ -2,14 +2,14 @@ MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) DIR := $(dir $(MAKEFILE_PATH)) LIB ?= . -OPT ?= -O3 +OPT ?= -O2 GENERATED ?= AARCH = --isa=sh4 --little CARCH = -m4-single-only -ml CFLAGS += -mfsca -funsafe-math-optimizations -ffast-math -CFLAGS += -I$(dir $(MAKEFILE_PATH)) +CFLAGS += -I"$(dir $(MAKEFILE_PATH))" CXXFLAGS += -std=c++23 diff --git a/holly/core.cpp b/holly/core.cpp index fe754e8..1a42593 100644 --- a/holly/core.cpp +++ b/holly/core.cpp @@ -14,7 +14,8 @@ void core_init() { holly.ISP_FEED_CFG = isp_feed_cfg::cache_size_for_translucency(0x200) - | isp_feed_cfg::punch_through_chunk_size(0x040); + | isp_feed_cfg::punch_through_chunk_size(0x040) + ; holly.FPU_SHAD_SCALE = fpu_shad_scale::simple_shadow_enable::intensity_volume_mode | fpu_shad_scale::scale_factor_for_shadows(127); diff --git a/holly/ta_fifo_polygon_converter.cpp b/holly/ta_fifo_polygon_converter.cpp index f70e349..d59f3ef 100644 --- a/holly/ta_fifo_polygon_converter.cpp +++ b/holly/ta_fifo_polygon_converter.cpp @@ -142,7 +142,7 @@ void ta_wait_opaque_list() { while ((system.ISTNRM & istnrm::end_of_transferring_opaque_list) == 0) { if (system.ISTERR) { - serial::string("ta "); + serial::string("ta ISTERR: "); serial::integer(system.ISTERR); } };