~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/emu/cpu/v30mz/v30mz.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1051
1051
                case CPUINFO_INT_CONTEXT_SIZE:                                  info->i = sizeof(v30mz_state);                  break;
1052
1052
                case CPUINFO_INT_INPUT_LINES:                                   info->i = 1;                                                    break;
1053
1053
                case CPUINFO_INT_DEFAULT_IRQ_VECTOR:                    info->i = 0xff;                                                 break;
1054
 
                case CPUINFO_INT_ENDIANNESS:                                    info->i = ENDIANNESS_LITTLE;                    break;
 
1054
                case DEVINFO_INT_ENDIANNESS:                                    info->i = ENDIANNESS_LITTLE;                    break;
1055
1055
                case CPUINFO_INT_CLOCK_MULTIPLIER:                              info->i = 1;                                                    break;
1056
1056
                case CPUINFO_INT_CLOCK_DIVIDER:                                 info->i = 1;                                                    break;
1057
1057
                case CPUINFO_INT_MIN_INSTRUCTION_BYTES:                 info->i = 1;                                                    break;
1103
1103
                case CPUINFO_PTR_INSTRUCTION_COUNTER:                   info->icount = &cpustate->icount;                               break;
1104
1104
 
1105
1105
                /* --- the following bits of info are returned as NULL-terminated strings --- */
1106
 
                case CPUINFO_STR_CORE_FAMILY:                                   strcpy(info->s, "NEC V-Series"); break;
1107
 
                case CPUINFO_STR_CORE_VERSION:                                  strcpy(info->s, "1.5"); break;
1108
 
                case CPUINFO_STR_CORE_FILE:                                             strcpy(info->s, __FILE__); break;
1109
 
                case CPUINFO_STR_CORE_CREDITS:                                  strcpy(info->s, "NEC emulator v1.5 by Bryan McPhail"); break;
 
1106
                case DEVINFO_STR_FAMILY:                                        strcpy(info->s, "NEC V-Series"); break;
 
1107
                case DEVINFO_STR_VERSION:                                       strcpy(info->s, "1.5"); break;
 
1108
                case DEVINFO_STR_SOURCE_FILE:                                           strcpy(info->s, __FILE__); break;
 
1109
                case DEVINFO_STR_CREDITS:                                       strcpy(info->s, "NEC emulator v1.5 by Bryan McPhail"); break;
1110
1110
 
1111
1111
                case CPUINFO_STR_FLAGS:
1112
1112
            flags = CompressFlags();
1153
1153
                                        break;
1154
1154
 
1155
1155
        /* --- the following bits of info are returned as NULL-terminated strings --- */
1156
 
        case CPUINFO_STR_NAME:          strcpy(info->s, "V30MZ");
 
1156
        case DEVINFO_STR_NAME:          strcpy(info->s, "V30MZ");
1157
1157
                                        break;
1158
1158
        }
1159
1159
}