summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/luaengine.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2022-03-16 04:13:18 +1100
committer Vas Crabb <vas@vastheman.com>2022-03-16 04:13:18 +1100
commit394e5f18b6fb034b04fae0f35575dc24a4a1d620 (patch)
tree86875ae05bd30adcd3d25fa66f6dbe1093f4d3df /src/frontend/mame/luaengine.h
parentc074526b03e51a8a1368813cee130a543a560c0f (diff)
Fixed some debugger memory view annoyances and cleaned up Lua bindings.
Made the debugger memory view not depend on isprint which is affected by the global locale. Assume the OSD will display as ISO-8869-1 and replace problematic printable characters. Started changing Lua function bindings to use set_function to avoid potential issues related to ThePhD/sol2#608, and worked out what was causing problems with symbol table read_memory/write_memory. (They aren't really essential - you can do the same thing with the address space object itself, but they're easier to parameterise.)
Diffstat (limited to 'src/frontend/mame/luaengine.h')
-rw-r--r--src/frontend/mame/luaengine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/mame/luaengine.h b/src/frontend/mame/luaengine.h
index 1aaa83bbf0b..b070969f424 100644
--- a/src/frontend/mame/luaengine.h
+++ b/src/frontend/mame/luaengine.h
@@ -123,6 +123,8 @@ private:
struct addr_space;
class tap_helper;
class addr_space_change_notif;
+ class symbol_table_wrapper;
+ class expression_wrapper;
struct save_item {
void *base;