libretro fixes
This commit is contained in:
parent
2503c8ae5c
commit
2a401da3bf
3 changed files with 9 additions and 6 deletions
|
@ -42,10 +42,10 @@ private:
|
||||||
|
|
||||||
struct InputEntry
|
struct InputEntry
|
||||||
{
|
{
|
||||||
uint8_t addr = 0;
|
uint8_t addr;
|
||||||
uint8_t data = 0;
|
uint8_t data;
|
||||||
uint8_t cycle = 0;
|
uint8_t cycle;
|
||||||
uint8_t wrote = 0;
|
uint8_t wrote;
|
||||||
};
|
};
|
||||||
|
|
||||||
static constexpr uint8_t INPUT_BUFFER_SIZE = cycleCount;
|
static constexpr uint8_t INPUT_BUFFER_SIZE = cycleCount;
|
||||||
|
|
|
@ -325,7 +325,7 @@ ifeq (,$(findstring windows_msvc2017,$(platform)))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS += -D LIBRETRO $(fpic)
|
CFLAGS += -D LIBRETRO $(fpic)
|
||||||
CXXFLAGS += -D LIBRETRO $(fpic) -std=c++14
|
CXXFLAGS += -D LIBRETRO $(fpic) -std=c++17
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,7 @@ SOURCES_CXX := $(LIBRETRO_DIR)/libretro.cpp \
|
||||||
$(CORE_DIR)/DeltaModulationChannel.cpp \
|
$(CORE_DIR)/DeltaModulationChannel.cpp \
|
||||||
$(CORE_DIR)/Disassembler.cpp \
|
$(CORE_DIR)/Disassembler.cpp \
|
||||||
$(CORE_DIR)/DisassemblyInfo.cpp \
|
$(CORE_DIR)/DisassemblyInfo.cpp \
|
||||||
|
$(CORE_DIR)/emu2149.cpp \
|
||||||
$(CORE_DIR)/EmulationSettings.cpp \
|
$(CORE_DIR)/EmulationSettings.cpp \
|
||||||
$(CORE_DIR)/EventManager.cpp \
|
$(CORE_DIR)/EventManager.cpp \
|
||||||
$(CORE_DIR)/ExpressionEvaluator.cpp \
|
$(CORE_DIR)/ExpressionEvaluator.cpp \
|
||||||
|
@ -83,6 +84,7 @@ SOURCES_CXX := $(LIBRETRO_DIR)/libretro.cpp \
|
||||||
$(CORE_DIR)/NsfMapper.cpp \
|
$(CORE_DIR)/NsfMapper.cpp \
|
||||||
$(CORE_DIR)/NsfPpu.cpp \
|
$(CORE_DIR)/NsfPpu.cpp \
|
||||||
$(CORE_DIR)/NtscFilter.cpp \
|
$(CORE_DIR)/NtscFilter.cpp \
|
||||||
|
$(CORE_DIR)/opll.cpp \
|
||||||
$(CORE_DIR)/OggMixer.cpp \
|
$(CORE_DIR)/OggMixer.cpp \
|
||||||
$(CORE_DIR)/OggReader.cpp \
|
$(CORE_DIR)/OggReader.cpp \
|
||||||
$(CORE_DIR)/PPU.cpp \
|
$(CORE_DIR)/PPU.cpp \
|
||||||
|
@ -115,6 +117,7 @@ SOURCES_CXX := $(LIBRETRO_DIR)/libretro.cpp \
|
||||||
$(CORE_DIR)/VirtualFile.cpp \
|
$(CORE_DIR)/VirtualFile.cpp \
|
||||||
$(CORE_DIR)/VsControlManager.cpp \
|
$(CORE_DIR)/VsControlManager.cpp \
|
||||||
$(CORE_DIR)/WaveRecorder.cpp \
|
$(CORE_DIR)/WaveRecorder.cpp \
|
||||||
|
$(CORE_DIR)/ym3438.cpp \
|
||||||
$(UTIL_DIR)/ArchiveReader.cpp \
|
$(UTIL_DIR)/ArchiveReader.cpp \
|
||||||
$(UTIL_DIR)/AutoResetEvent.cpp \
|
$(UTIL_DIR)/AutoResetEvent.cpp \
|
||||||
$(UTIL_DIR)/AviRecorder.cpp \
|
$(UTIL_DIR)/AviRecorder.cpp \
|
||||||
|
|
Loading…
Add table
Reference in a new issue