INonOverlappingRange.cs 671 B

12345678910111213141516
  1. namespace Ryujinx.Memory.Range
  2. {
  3. /// <summary>
  4. /// Range of memory that can be split in two.
  5. /// </summary>
  6. interface INonOverlappingRange : IRange
  7. {
  8. /// <summary>
  9. /// Split this region into two, around the specified address.
  10. /// This region is updated to end at the split address, and a new region is created to represent past that point.
  11. /// </summary>
  12. /// <param name="splitAddress">Address to split the region around</param>
  13. /// <returns>The second part of the split region, with start address at the given split.</returns>
  14. public INonOverlappingRange Split(ulong splitAddress);
  15. }
  16. }