Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc fixes #418

Merged
merged 3 commits into from
May 13, 2022
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
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
TARGET_NAME := chailove

ifeq ($(VERBOSE),)
Q=@
endif

include Makefile.libretro

ifeq ($(STATIC_LINKING),1)
Expand All @@ -23,10 +27,12 @@ else
endif

%.o: %.cpp
$(CXX) -c -o $@ $< $(CXXFLAGS) -include retro_endianness.h
@echo CXX $<
$(Q)$(CXX) -c -o $@ $< $(CXXFLAGS) -include retro_endianness.h

%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS) -include retro_endianness.h
@echo CXX $<
$(Q)$(CC) -c -o $@ $< $(CFLAGS) -include retro_endianness.h

%.o: %.m
$(CC) -c -o $@ $< $(CFLAGS) -include retro_endianness.h
Expand Down
1 change: 1 addition & 0 deletions Makefile.libretro
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ TARGET_NAME := chailove
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
CXXFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif

ifneq (,$(findstring msvc,$(platform)))
Expand Down
2 changes: 1 addition & 1 deletion src/love/Types/FileSystem/FileData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ FileData::FileData(const std::string& filepath) : m_filepath(filepath) {
// Nothing.
}

FileData::FileData(const std::string& contents, const std::string& name) : m_contents(contents), m_filepath(name) {
FileData::FileData(const std::string& contents, const std::string& name) : m_filepath(name), m_contents(contents) {
// Nothing.
}

Expand Down