From cae6687242c238df0410f93a8814f0c015165a6d Mon Sep 17 00:00:00 2001 From: Ilari Liusvaara Date: Sat, 7 Dec 2013 22:17:05 +0200 Subject: [PATCH] Fix compile for bsnes accuracy for real --- src/emulation/bsnes-legacy/core.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emulation/bsnes-legacy/core.cpp b/src/emulation/bsnes-legacy/core.cpp index 44778dd4..53884694 100644 --- a/src/emulation/bsnes-legacy/core.cpp +++ b/src/emulation/bsnes-legacy/core.cpp @@ -1517,6 +1517,7 @@ again2: lsnes_cmd.invoke("tracelog cpu " + r); }); +#ifdef BSNES_IS_COMPAT function_ptr_luafun lua_layerenabled(lua_func_misc, "snes.enablelayer", [](lua_state& L, const std::string& fname) -> int { unsigned layer = L.get_numeric_argument(1, fname.c_str()); @@ -1525,6 +1526,7 @@ again2: SNES::ppu.layer_enable(layer, priority, enabled); return 0; }); +#endif function_ptr_luafun lua_smpdiasm(lua_func_misc, "snes.smpdisasm", [](lua_state& L, const std::string& fname) -> int { -- 2.11.4.GIT