aboutsummaryrefslogtreecommitdiff
path: root/Mpu401.cpp
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-01-30 20:02:28 +0100
committerJavier <dev.git@javispedro.com>2022-01-30 20:02:28 +0100
commit7bb77279bf5b76902c167923d57800e1f6f6073e (patch)
tree9c23a39b3ea2e6af094240780ce21206602a0c11 /Mpu401.cpp
parent54b754ce040d5549d5c58428d2b9c095601e98dc (diff)
downloadvmusic-7bb77279bf5b76902c167923d57800e1f6f6073e.tar.gz
vmusic-7bb77279bf5b76902c167923d57800e1f6f6073e.zip
Cleaning up Adlib module
Diffstat (limited to 'Mpu401.cpp')
-rw-r--r--Mpu401.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Mpu401.cpp b/Mpu401.cpp
index 1f9e8ec..d4ca931 100644
--- a/Mpu401.cpp
+++ b/Mpu401.cpp
@@ -51,14 +51,15 @@
#define LOG_ENABLE_FLOW 1
#define LOG_GROUP LOG_GROUP_DEV_SB16
#include <VBox/vmm/pdmdev.h>
-#ifndef IN_RING3
-# include <VBox/vmm/pdmapi.h>
-#endif
#include <VBox/AssertGuest.h>
#include <VBox/version.h>
#include <iprt/assert.h>
#include <iprt/mem.h>
+#ifndef IN_RING3
+#error "R3-only driver"
+#endif
+
#if RT_OPSYS == RT_OPSYS_LINUX
#include "midialsa.h"
typedef MIDIOutAlsa MIDIOutBackend;