You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[LuaMethodExample("local exec_cb_id = event.on_bus_exec(\r\n\tfunction()\r\n\t\tconsole.log( \"Fires after the given address is executed by the core\" );\r\n\tend\r\n\t, 0x200, \"Frame name\", \"System Bus\" );")]
113
-
[LuaMethod("on_bus_exec","Fires after the given address is executed by the core")]
112
+
[LuaMethodExample("local exec_cb_id = event.on_bus_exec(\r\n\tfunction()\r\n\t\tconsole.log( \"Fires immediately before the given address is executed by the core\" );\r\n\tend\r\n\t, 0x200, \"Frame name\", \"System Bus\" );")]
113
+
[LuaMethod("on_bus_exec","Fires immediately before the given address is executed by the core")]
114
114
publicstringOnBusExec(
115
115
LuaFunctionluaf,
116
116
uintaddress,
@@ -145,7 +145,7 @@ public string OnBusExec(
145
145
}
146
146
147
147
[LuaDeprecatedMethod]
148
-
[LuaMethod("onmemoryexecuteany","Fires after any address is executed by the core (CPU-intensive)")]
148
+
[LuaMethod("onmemoryexecuteany","Fires immediately before any address is executed by the core (CPU-intensive)")]
149
149
publicstringOnMemoryExecuteAny(
150
150
LuaFunctionluaf,
151
151
stringname=null,
@@ -155,8 +155,8 @@ public string OnMemoryExecuteAny(
155
155
returnOnBusExecAny(luaf,name:name,scope:scope);
156
156
}
157
157
158
-
[LuaMethodExample("local exec_cb_id = event.on_bus_exec_any(\r\n\tfunction()\r\n\t\tconsole.log( \"Fires after any address is executed by the core (CPU-intensive)\" );\r\n\tend\r\n\t, \"Frame name\", \"System Bus\" );")]
159
-
[LuaMethod("on_bus_exec_any","Fires after any address is executed by the core (CPU-intensive)")]
158
+
[LuaMethodExample("local exec_cb_id = event.on_bus_exec_any(\r\n\tfunction()\r\n\t\tconsole.log( \"Fires immediately before every instruction executed (in the specified scope) by the core (CPU-intensive)\" );\r\n\tend\r\n\t, \"Frame name\", \"System Bus\" );")]
159
+
[LuaMethod("on_bus_exec_any","Fires immediately before every instruction executed (in the specified scope) by the core (CPU-intensive)")]
Copy file name to clipboardExpand all lines: src/BizHawk.Emulation.Common/Interfaces/IMemoryCallbackSystem.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ public interface IMemoryCallbackSystem : IEnumerable<IMemoryCallback>
68
68
/// Executes all matching callbacks for the given address and domain
69
69
/// </summary>
70
70
/// <param name="addr">The address to check for callbacks</param>
71
-
/// <param name="value">The value contained (or written to) addr</param>
71
+
/// <param name="value">For reads/execs, the value read/executed; for writes, the value to be written. Cores may pass the default <c>0</c> if write/exec is partially implemented.</param>
72
72
/// <param name="flags">The callback flags relevant to this access</param>
73
73
/// <param name="scope">The scope that the address pertains to. Must be a value in <see cref="AvailableScopes"/></param>
0 commit comments