summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/psx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/psx.c')
-rw-r--r--src/mess/drivers/psx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/psx.c b/src/mess/drivers/psx.c
index b01134e0c83..4344a94a9f7 100644
--- a/src/mess/drivers/psx.c
+++ b/src/mess/drivers/psx.c
@@ -431,7 +431,7 @@ DIRECT_UPDATE_MEMBER(psx1_state::psx_setopbase)
{
device_t *cpu = machine().device("maincpu");
- machine().device("maincpu")->memory().space(AS_PROGRAM)->set_direct_update_handler(direct_update_delegate(FUNC(psx1_state::psx_default), this));
+ machine().device("maincpu")->memory().space(AS_PROGRAM).set_direct_update_handler(direct_update_delegate(FUNC(psx1_state::psx_default), this));
if( load_psxexe( cpu, m_exe_buffer, m_exe_size ) ||
load_cpe( cpu, m_exe_buffer, m_exe_size ) ||
@@ -455,7 +455,7 @@ DIRECT_UPDATE_MEMBER(psx1_state::psx_setopbase)
static QUICKLOAD_LOAD( psx_exe_load )
{
psx1_state *state = image.device().machine().driver_data<psx1_state>();
- address_space &space = *image.device().machine().device( "maincpu")->memory().space( AS_PROGRAM );
+ address_space &space = image.device().machine().device( "maincpu")->memory().space( AS_PROGRAM );
state->m_exe_size = 0;
state->m_exe_buffer = (UINT8*)malloc( quickload_size );