+/*
+ * PicoDrive
+ * (C) notaz, 2008
+ *
+ * This work is licensed under the terms of MAME license.
+ * See COPYING file in the top-level directory.
+ */
#include "../pico_int.h"
#include "../memory.h"
#include "../sound/sn76496.h"
{
case 0x01: d = PicoPicohw.r1; break;
case 0x03:
- d = PicoPad[0]&0x1f; // d-pad
- d |= (PicoPad[0]&0x20) << 2; // pen push -> C
+ d = PicoIn.pad[0]&0x1f; // d-pad
+ d |= (PicoIn.pad[0]&0x20) << 2; // pen push -> C
d = ~d;
break;