@@ -29,15 +29,11 @@ public EventsLuaLibrary(ILuaLibraries luaLibsImpl, ApiContainer apiContainer, Ac
29
29
30
30
public override string Name => "event" ;
31
31
32
- private void LogMemoryCallbacksNotImplemented ( )
33
- {
34
- Log ( $ "{ Emulator . Attributes ( ) . CoreName } does not implement memory callbacks") ;
35
- }
32
+ private void LogMemoryCallbacksNotImplemented ( bool isWildcard )
33
+ => Log ( $ "{ Emulator . Attributes ( ) . CoreName } does not implement { ( isWildcard ? "wildcard " : string . Empty ) } memory callbacks") ;
36
34
37
- private void LogMemoryExecuteCallbacksNotImplemented ( )
38
- {
39
- Log ( $ "{ Emulator . Attributes ( ) . CoreName } does not implement memory execute callbacks") ;
40
- }
35
+ private void LogMemoryExecuteCallbacksNotImplemented ( bool isWildcard )
36
+ => Log ( $ "{ Emulator . Attributes ( ) . CoreName } does not implement { ( isWildcard ? "wildcard " : string . Empty ) } memory execute callbacks") ;
41
37
42
38
private void LogScopeNotAvailable ( string scope )
43
39
{
@@ -136,11 +132,11 @@ public string OnBusExec(
136
132
}
137
133
catch ( NotImplementedException )
138
134
{
139
- LogMemoryExecuteCallbacksNotImplemented ( ) ;
135
+ LogMemoryExecuteCallbacksNotImplemented ( isWildcard : false ) ;
140
136
return Guid . Empty . ToString ( ) ;
141
137
}
142
138
143
- LogMemoryExecuteCallbacksNotImplemented ( ) ;
139
+ LogMemoryExecuteCallbacksNotImplemented ( isWildcard : false ) ;
144
140
return Guid . Empty . ToString ( ) ;
145
141
}
146
142
@@ -190,7 +186,7 @@ public string OnBusExecAny(
190
186
{
191
187
// fall through
192
188
}
193
- LogMemoryExecuteCallbacksNotImplemented ( ) ;
189
+ LogMemoryExecuteCallbacksNotImplemented ( isWildcard : true ) ;
194
190
return Guid . Empty . ToString ( ) ;
195
191
}
196
192
@@ -232,11 +228,11 @@ public string OnBusRead(
232
228
}
233
229
catch ( NotImplementedException )
234
230
{
235
- LogMemoryCallbacksNotImplemented ( ) ;
231
+ LogMemoryCallbacksNotImplemented ( isWildcard : address is null ) ;
236
232
return Guid . Empty . ToString ( ) ;
237
233
}
238
234
239
- LogMemoryCallbacksNotImplemented ( ) ;
235
+ LogMemoryCallbacksNotImplemented ( isWildcard : address is null ) ;
240
236
return Guid . Empty . ToString ( ) ;
241
237
}
242
238
@@ -278,11 +274,11 @@ public string OnBusWrite(
278
274
}
279
275
catch ( NotImplementedException )
280
276
{
281
- LogMemoryCallbacksNotImplemented ( ) ;
277
+ LogMemoryCallbacksNotImplemented ( isWildcard : address is null ) ;
282
278
return Guid . Empty . ToString ( ) ;
283
279
}
284
280
285
- LogMemoryCallbacksNotImplemented ( ) ;
281
+ LogMemoryCallbacksNotImplemented ( isWildcard : address is null ) ;
286
282
return Guid . Empty . ToString ( ) ;
287
283
}
288
284
0 commit comments