summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/device/oprom/yabel/compat/functions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/oprom/yabel/compat/functions.c b/src/device/oprom/yabel/compat/functions.c
index 2c3dc33fc4..27d0413b8f 100644
--- a/src/device/oprom/yabel/compat/functions.c
+++ b/src/device/oprom/yabel/compat/functions.c
@@ -33,8 +33,11 @@ u8* vmem = (u8 *) (16*1024*1024); /* default to 16MB */
u8* vmem = NULL;
#endif
+extern u8 *biosmem;
+
void run_bios(struct device * dev, unsigned long addr)
{
+ biosmem = vmem;
biosemu(vmem, VMEM_SIZE, dev, addr);