summaryrefslogtreecommitdiff
path: root/src/vcpu.h
diff options
context:
space:
mode:
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();