From f7b1fedfb43f7c4b702bf22b32cbc9aa722f3c8e Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Tue, 26 Dec 2023 19:27:23 +0100 Subject: Cleaning code --- src/vcpu.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/vcpu.h') diff --git a/src/vcpu.h b/src/vcpu.h index 4266ac4..09bfd4e 100644 --- a/src/vcpu.h +++ b/src/vcpu.h @@ -51,7 +51,7 @@ typedef struct VCPU_State { * @brief Must be called first! * */ -void VCPUInit(); +void VCPUInit(int width, int height); /** * @brief Fetch instruction from memory @@ -92,3 +92,9 @@ void VCPUDoubleDabble(unsigned char x, unsigned char *u, unsigned char *t, unsig * */ void VCPUDump(); + +/** + * @brief To call before terminating the application + * + */ +void VCPUFinish(); -- cgit v1.2.3