diff --git a/src/frontend/mame/luaengine.cpp b/src/frontend/mame/luaengine.cpp index 7530c18ac2c..e2b55a25b13 100644 --- a/src/frontend/mame/luaengine.cpp +++ b/src/frontend/mame/luaengine.cpp @@ -1535,7 +1535,7 @@ void lua_engine::initialize() dev.single_step(steps); }); device_debug_type.set("go", &device_debug::go); - device_debug_type.set("bpset", [](device_debug &dev, offs_t addr) { return dev.breakpoint_set(addr); }); + device_debug_type.set("bpset", [](device_debug &dev, offs_t addr, const char *cond, const char *act) { return dev.breakpoint_set(addr, cond, act); }); device_debug_type.set("bpclr", &device_debug::breakpoint_clear); device_debug_type.set("bplist", [this](device_debug &dev) { sol::table table = sol().create_table(); @@ -1550,13 +1550,13 @@ void lua_engine::initialize() } return table; }); - device_debug_type.set("wpset", [](device_debug &dev, addr_space &sp, const std::string &type, offs_t addr, offs_t len) { + device_debug_type.set("wpset", [](device_debug &dev, addr_space &sp, const std::string &type, offs_t addr, offs_t len, const char *cond, const char *act) { read_or_write wptype = read_or_write::READ; if(type == "w") wptype = read_or_write::WRITE; else if((type == "rw") || (type == "wr")) wptype = read_or_write::READWRITE; - return dev.watchpoint_set(sp.space, wptype, addr, len); + return dev.watchpoint_set(sp.space, wptype, addr, len, cond, act); }); device_debug_type.set("wpclr", &device_debug::watchpoint_clear); device_debug_type.set("wplist", [this](device_debug &dev, addr_space &sp) {