1. 22 Nov, 2018 10 commits
  2. 21 Nov, 2018 26 commits
  3. 20 Nov, 2018 4 commits
    • Lioncash's avatar
      file_sys/card_image: Provide named members for the GamecardInfo struct · 820bcee6
      Lioncash authored
      Fills out the struct according to information provided by SwitchBrew
      820bcee6
    • Lioncash's avatar
      common/assert: Add UNIMPLEMENTED_IF and UNIMPLEMENTED_IF_MSG for conditional assertions · 9dcc229d
      Lioncash authored
      Currently, there's no way to specify if an assertion should
      conditionally occur due to unimplemented behavior. This is useful when
      something is only partially implemented (e.g. due to ongoing RE work).
      In particular, this would be useful within the graphics code.
      
      The rationale behind this is it allows a dev to disable unimplemented
      feature assertions (which can occur in an unrelated work area), while
      still enabling regular assertions, which act as behavior guards for
      conditions or states which must not occur. Previously, the only way a
      dev could temporarily disable asserts, was to disable the regular
      assertion macros, which has the downside of also disabling, well, the
      regular assertions which hold more sanitizing value, as opposed to
      unimplemented feature assertions.
      9dcc229d
    • Lioncash's avatar
      common/assert: Make the UNIMPLEMENTED macro properly assert · aaec85df
      Lioncash authored
      Currently, this was only performing a logging call, which doesn't
      actually invoke any assertion behavior. This is unlike
      UNIMPLEMENTED_MSG, which *does* assert.
      
      This makes the expected behavior uniform across both macros.
      aaec85df
    • Lioncash's avatar
      kernel/process: Move <random> include to the cpp file · 31d1e06e
      Lioncash authored
      <random> isn't necesary directly within the header and can be placed in
      the cpp file where its needed. Avoids propagating random generation
      utilities via a header file.
      31d1e06e