Previous 15994 Revisions Next

r7698 Sunday 4th April, 2010 at 14:45:17 UTC by MooglyGuy
Made the RSP interpreter compile again. [Harmony]
[src/emu/cpu/rsp]rsp.c

src/emu/cpu/rsp/rsp.c
r7697r7698
185185{
186186   if (reg >= 0 && reg < 8)
187187   {
188      return (rsp->config->sp_reg_r)(rsp->program, reg, 0x00000000);
188      return (rsp->config->sp_reg_r)(rsp->device, reg, 0x00000000);
189189   }
190190   else if (reg >= 8 && reg < 16)
191191   {
192      return (rsp->config->dp_reg_r)(rsp->program, reg - 8, 0x00000000);
192      return (rsp->config->dp_reg_r)(rsp->device, reg - 8, 0x00000000);
193193   }
194194   else
195195   {
r7697r7698
201201{
202202   if (reg >= 0 && reg < 8)
203203   {
204      (rsp->config->sp_reg_w)(rsp->program, reg, data, 0x00000000);
204      (rsp->config->sp_reg_w)(rsp->device, reg, data, 0x00000000);
205205   }
206206   else if (reg >= 8 && reg < 16)
207207   {
208      (rsp->config->dp_reg_w)(rsp->program, reg - 8, data, 0x00000000);
208      (rsp->config->dp_reg_w)(rsp->device, reg - 8, data, 0x00000000);
209209   }
210210   else
211211   {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team