mirror of https://github.com/stella-emu/stella.git
Fix compile warning in clang, and compile error for libretro build.
This commit is contained in:
parent
a86afe97c6
commit
34c937a143
|
@ -30,7 +30,7 @@ QuadTariWidget::QuadTariWidget(GuiObject* boss, const GUI::Font& font,
|
||||||
{
|
{
|
||||||
string label = (isLeftPort() ? "Left" : "Right") + string(" (QuadTari)");
|
string label = (isLeftPort() ? "Left" : "Right") + string(" (QuadTari)");
|
||||||
StaticTextWidget* t = new StaticTextWidget(boss, font, x, y + 2, label);
|
StaticTextWidget* t = new StaticTextWidget(boss, font, x, y + 2, label);
|
||||||
QuadTari& qt = (QuadTari&)controller;
|
QuadTari& qt = static_cast<QuadTari&>(controller);
|
||||||
|
|
||||||
x += font.getMaxCharWidth() * 2;
|
x += font.getMaxCharWidth() * 2;
|
||||||
y = t->getBottom() + font.getFontHeight() * 1.25;
|
y = t->getBottom() + font.getFontHeight() * 1.25;
|
||||||
|
|
|
@ -113,6 +113,7 @@ SOURCES_CXX := \
|
||||||
$(CORE_DIR)/emucore/PointingDevice.cxx \
|
$(CORE_DIR)/emucore/PointingDevice.cxx \
|
||||||
$(CORE_DIR)/emucore/Props.cxx \
|
$(CORE_DIR)/emucore/Props.cxx \
|
||||||
$(CORE_DIR)/emucore/PropsSet.cxx \
|
$(CORE_DIR)/emucore/PropsSet.cxx \
|
||||||
|
$(CORE_DIR)/emucore/QuadTari.cxx \
|
||||||
$(CORE_DIR)/emucore/SaveKey.cxx \
|
$(CORE_DIR)/emucore/SaveKey.cxx \
|
||||||
$(CORE_DIR)/emucore/Serializer.cxx \
|
$(CORE_DIR)/emucore/Serializer.cxx \
|
||||||
$(CORE_DIR)/emucore/Settings.cxx \
|
$(CORE_DIR)/emucore/Settings.cxx \
|
||||||
|
|
Loading…
Reference in New Issue