Previous 15994 Revisions Next

r4480 Saturday 11th April, 2009 at 14:40:05 UTC by Fabio Priuli
Fixed CPU_GET_INFO issues spotted by -validate in MESS debug build
[src/emu/cpu/i86]i286.c
[src/emu/cpu/m6502]m4510.c m6509.c
[src/emu/cpu/v30mz]v30mz.c

src/emu/cpu/v30mz/v30mz.c
r4479r4480
10421042
10431043CPU_GET_INFO( v30mz )
10441044{
1045   v30mz_state *cpustate = (device != NULL && device != NULL) ? get_safe_token(device) : NULL;
1045   v30mz_state *cpustate = (device != NULL && device->token != NULL) ? get_safe_token(device) : NULL;
10461046   int flags;
10471047
10481048   switch (state)
src/emu/cpu/i86/i286.c
r4479r4480
377377
378378CPU_GET_INFO( i80286 )
379379{
380   i80286_state *cpustate = (device != NULL) ? get_safe_token(device) : NULL;
380   i80286_state *cpustate = (device != NULL && device->token != NULL) ? get_safe_token(device) : NULL;
381381
382382   switch (state)
383383   {
src/emu/cpu/m6502/m4510.c
r4479r4480
443443
444444CPU_GET_INFO( m4510 )
445445{
446   m4510_Regs *cpustate = (device != NULL && device != NULL) ? get_safe_token(device) : NULL;
446   m4510_Regs *cpustate = (device != NULL && device->token != NULL) ? get_safe_token(device) : NULL;
447447
448448   switch (state)
449449   {
src/emu/cpu/m6502/m6509.c
r4479r4480
324324
325325CPU_GET_INFO( m6509 )
326326{
327   m6509_Regs *cpustate = (device != NULL && device != NULL) ? get_safe_token(device) : NULL;
327   m6509_Regs *cpustate = (device != NULL && device->token != NULL) ? get_safe_token(device) : NULL;
328328
329329   switch (state)
330330   {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team