summaryrefslogtreecommitdiff
path: root/src/vcpu.h
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-12-26 19:27:23 +0100
committerLoic Guegan <loic.guegan@mailbox.org>2023-12-26 19:27:23 +0100
commitf7b1fedfb43f7c4b702bf22b32cbc9aa722f3c8e (patch)
tree8f3842a8f921a597f06f38185db5a85e5c1a95e1 /src/vcpu.h
parentc3b9b472bf9a993a89121b8989e4cc9dbc786f2c (diff)
Cleaning code
Diffstat (limited to 'src/vcpu.h')
-rw-r--r--src/vcpu.h8
1 files changed, 7 insertions, 1 deletions
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();