diff options
Diffstat (limited to 'gen.rb')
| -rwxr-xr-x | gen.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -18,7 +18,7 @@ DATA['ops'].each do |set_id, ops|      when 'XX'        [          "case 0x%s: /* op: %s, cat: %s */", -        "  invalid(ctx, old_pc);", +        "  cpu_set_state(ctx, old_pc, GB_CPU_STATE_INVALID);",          "  break;",        ].join("\n") % [          hex, @@ -55,7 +55,7 @@ DATA['ops'].each do |set_id, ops|          hex,          op['id'],          op['cat'], -        op['code'] || 'not_implemented(ctx, old_pc, op);', +        op['code'] || 'cpu_set_state(ctx, old_pc, GB_CPU_STATE_NOT_IMPLEMENTED);',          pc_expr,          time_expr,        ] | 
