Mercurial > repos > blastem
comparison m68k_core_x86.c @ 2349:f0fc6c09517d
Fix regression from asan/ubsan fix
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 13 Oct 2023 22:44:36 -0700 |
parents | 959a3e9aaac5 |
children | f8b5142c06aa |
comparison
equal
deleted
inserted
replaced
2348:2025ba21026a | 2349:f0fc6c09517d |
---|---|
2600 opts->gen.ram_flags_shift = 11; | 2600 opts->gen.ram_flags_shift = 11; |
2601 for (int i = 0; i < 8; i++) | 2601 for (int i = 0; i < 8; i++) |
2602 { | 2602 { |
2603 opts->dregs[i] = opts->aregs[i] = -1; | 2603 opts->dregs[i] = opts->aregs[i] = -1; |
2604 } | 2604 } |
2605 opts->aregs[8] = -1; | |
2605 #ifdef X86_64 | 2606 #ifdef X86_64 |
2606 opts->dregs[0] = R10; | 2607 opts->dregs[0] = R10; |
2607 opts->dregs[1] = R11; | 2608 opts->dregs[1] = R11; |
2608 opts->dregs[2] = R12; | 2609 opts->dregs[2] = R12; |
2609 opts->dregs[3] = R8; | 2610 opts->dregs[3] = R8; |