aboutsummaryrefslogtreecommitdiff
path: root/emu8k.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-02-09 02:49:15 +0100
committerJavier <dev.git@javispedro.com>2022-02-09 02:52:11 +0100
commit44a797ceaad46fcc9d9faf80efb4f8ad74f611b6 (patch)
treee1ccef32158735d345134c3f2e1daa901f8bae0f /emu8k.h
parent7a06c937cb422570f1199a5df2dec3d181d7c0d7 (diff)
downloadvmusic-44a797ceaad46fcc9d9faf80efb4f8ad74f611b6.tar.gz
vmusic-44a797ceaad46fcc9d9faf80efb4f8ad74f611b6.zip
emu8k: save emu8k internals in saved states
Diffstat (limited to 'emu8k.h')
-rw-r--r--emu8k.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/emu8k.h b/emu8k.h
index f6b7b0f..a119023 100644
--- a/emu8k.h
+++ b/emu8k.h
@@ -41,6 +41,7 @@
#include <stddef.h>
#include <stdint.h>
+#include <VBox/vmm/ssm.h>
#ifdef __cplusplus
extern "C" {
@@ -67,6 +68,8 @@ void emu8k_update_virtual_sample_count(emu8k_t *emu8k, uint16_t sample_count);
* It is reset to 0 whenever we render and therefore increment the real sample count.
* This means that effectively the sample count register may readjust itself (go back or jump ahead) on _render :(. */
+extern const struct SSMFIELD g_emu8k_fields[];
+
#ifdef __cplusplus
} /* extern "C" */
#endif