Skip to content

v0.3.0

Latest

Choose a tag to compare

@SquareMan SquareMan released this 25 Feb 01:34
· 1 commit to main since this release
87b8a08

Breaking

  • Refactored GameInterface into a struct that is generic over any backend-implementation
  • Refactored DolphinInterface into a struct that implements InterfaceProvider<Backend=DolphinBackend>

Additions

  • Added InterfaceProvider trait for types that are caple of providing a game interface.
  • Added MockInterface for writing testing logic without using a real backend.
  • Added GameVar and GameVarMut traits to represent accessible regions of game memory in a strongly-typed manner.
  • Improved amount of information availabe from InterfaceErrors
    • Added new variants for when a hooking attempt fails. InterfaceError::Unhooked represents when a previously
      hooked interface becomes unhooked.
    • Added InterfaceError::Io to wrap unexpected I/O errors instead of reducing them down to Other
    • Replaced InterfaceError::Other with InterfaceError::DataUnavailable and InterfaceError::Io
  • Added Hans struct for interacting with Hans' state.