Create a MemoryDomain subclass which wraps IDebuggable.{GetCpuFlagsAndRegisters,SetCpuRegister}#4471
Create a MemoryDomain subclass which wraps IDebuggable.{GetCpuFlagsAndRegisters,SetCpuRegister}#4471
MemoryDomain subclass which wraps IDebuggable.{GetCpuFlagsAndRegisters,SetCpuRegister}#4471Conversation
YoshiRulz
commented
Sep 25, 2025
MemoryDomain subclass which wraps IDebuggable reg get/setMemoryDomain subclass which wraps IDebuggable.{GetCpuFlagsAndRegisters,SetCpuRegister}
|
I like the concept. No idea about the code tho. |
SuuperW
left a comment
There was a problem hiding this comment.
-
I think it would be better to not modify cores' code. It should be possible to conditionally add the registers domain outside of the core, depending on if it provides the required service.
-
I don't exactly like the inefficiencies here with reading and writing more than necessary, but I suppose there's not a lot you could realistically do about that.
-
I also see
uncheckedin a lot of places. Does this provide any benefit? Since unchecked is default, this seems like unneeded fluff.
src/BizHawk.Emulation.Common/Base Implementations/RegistersMemoryDomain.cs
Outdated
Show resolved
Hide resolved
src/BizHawk.Emulation.Common/Base Implementations/RegistersMemoryDomain.cs
Show resolved
Hide resolved
In
Enabling |