From cc7059dd95089c3145ccdaa82c5e691e91cd7b86 Mon Sep 17 00:00:00 2001 From: redcode Date: Tue, 30 Oct 2018 20:12:55 +0100 Subject: [PATCH] Doxygen comments. --- API/emulation/CPU/Z80.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/API/emulation/CPU/Z80.h b/API/emulation/CPU/Z80.h index 3fde39d..b96106c 100644 --- a/API/emulation/CPU/Z80.h +++ b/API/emulation/CPU/Z80.h @@ -45,21 +45,21 @@ typedef struct { zuint8 (* read)(void *context, zuint16 address); /** Called when the CPU needs to write 8 bits to memory. - * @param context A pointer to the calling emulator instance. + * @param context The value of the member `context`. * @param address The memory address to write. * @param value The value to write in address. */ void (* write)(void *context, zuint16 address, zuint8 value); /** Called when the CPU needs to read 8 bits from an I/O port. - * @param context A pointer to the calling emulator instance. + * @param context The value of the member `context`. * @param port The number of the I/O port. * @return The 8 bits read from the I/O port. */ zuint8 (* in)(void *context, zuint16 port); /** Called when the CPU needs to write 8 bits to an I/O port. - * @param context A pointer to the calling emulator instance. + * @param context The value of the member `context`. * @param port The number of the I/O port. * @param value The value to write. */ @@ -68,14 +68,14 @@ typedef struct { /** Called when the CPU starts executing a maskable interrupt and the * interruption mode is 0. This callback must return the instruction * that the CPU would read from the data bus in this case. - * @param context A pointer to the calling emulator instance. + * @param context The value of the member `context`. * @return A 32-bit value containing the bytes of an instruction. The * instruction must begin at the most significant byte of the value. */ zuint32 (* int_data)(void *context); /** Called when the CPU enters or exits the halt state. - * @param context A pointer to the calling emulator instance. + * @param context The value of the member `context`. * @param state TRUE if halted, FALSE otherwise. */ void (* halt)(void *context, zboolean state);