summaryrefslogtreecommitdiff
path: root/emu/device.h
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-12-12 20:14:45 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2020-12-12 20:14:45 +0100
commit8dde478cfc2174f198290be40a633a4c9c9db833 (patch)
treef3ebae298dc285fd407093efbf774a684f520867 /emu/device.h
parent1269d11d15f1014b7ac87fc2bb2c76367404e16c (diff)
download6502-8dde478cfc2174f198290be40a633a4c9c9db833.tar.gz
6502-8dde478cfc2174f198290be40a633a4c9c9db833.tar.bz2
some more testing
Diffstat (limited to 'emu/device.h')
-rw-r--r--emu/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/emu/device.h b/emu/device.h
index 41c430f..1cf36e7 100644
--- a/emu/device.h
+++ b/emu/device.h
@@ -27,6 +27,7 @@ typedef struct device_t {
} device_t;
void device_init( device_t *device, const char *name );
+void device_copy( device_t *to, device_t *from );
uint8_t device_read( void *obj, uint16_t addr );
void device_write( void *obj, uint16_t addr, uint8_t data );
#ifdef WITH_GUI