From e0e33032b9981f8b612f0a316ac6c86a571f6a64 Mon Sep 17 00:00:00 2001 From: Gericom Date: Fri, 2 Jan 2026 16:13:56 +0100 Subject: [PATCH] Updated some comments --- arm9/source/patches/ISectorRemapPatchCode.h | 3 +++ arm9/source/patches/platform/IReadSectorsDmaPatchCode.h | 2 +- arm9/source/patches/platform/IReadSectorsPatchCode.h | 2 +- arm9/source/patches/platform/IWriteSectorsPatchCode.h | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arm9/source/patches/ISectorRemapPatchCode.h b/arm9/source/patches/ISectorRemapPatchCode.h index ad8bd16..2f1c413 100644 --- a/arm9/source/patches/ISectorRemapPatchCode.h +++ b/arm9/source/patches/ISectorRemapPatchCode.h @@ -1,10 +1,13 @@ #pragma once +/// @brief Interface for sector remapping patch code. class ISectorRemapPatchCode { protected: ISectorRemapPatchCode() { } public: + /// @brief Gets a pointer to the sector remap function in the patch code. + /// @return The pointer to the sector remap function. virtual const void* GetRemapFunction() const = 0; }; diff --git a/arm9/source/patches/platform/IReadSectorsDmaPatchCode.h b/arm9/source/patches/platform/IReadSectorsDmaPatchCode.h index ef7c84f..ad48d0c 100644 --- a/arm9/source/patches/platform/IReadSectorsDmaPatchCode.h +++ b/arm9/source/patches/platform/IReadSectorsDmaPatchCode.h @@ -1,6 +1,6 @@ #pragma once -/// @brief Abstract base class for patch code implementing dma sector reads +/// @brief Interface for patch code implementing dma sector reads. class IReadSectorsDmaPatchCode { protected: diff --git a/arm9/source/patches/platform/IReadSectorsPatchCode.h b/arm9/source/patches/platform/IReadSectorsPatchCode.h index fa94f6b..6d61826 100644 --- a/arm9/source/patches/platform/IReadSectorsPatchCode.h +++ b/arm9/source/patches/platform/IReadSectorsPatchCode.h @@ -1,6 +1,6 @@ #pragma once -/// @brief Abstract base class for patch code implementing sector reads +/// @brief Interface for patch code implementing sector reads. class IReadSectorsPatchCode { protected: diff --git a/arm9/source/patches/platform/IWriteSectorsPatchCode.h b/arm9/source/patches/platform/IWriteSectorsPatchCode.h index a795014..d9ff4b6 100644 --- a/arm9/source/patches/platform/IWriteSectorsPatchCode.h +++ b/arm9/source/patches/platform/IWriteSectorsPatchCode.h @@ -1,6 +1,6 @@ #pragma once -/// @brief Abstract base class for patch code implementing sector writes +/// @brief Interface for patch code implementing sector writes. class IWriteSectorsPatchCode { protected: