mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
port to 64bit. Some gcc 4.4 warning fixes
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@835 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
71f68165b6
commit
b8a1c09ad1
19 changed files with 102 additions and 80 deletions
|
@ -1197,7 +1197,10 @@ static int tr_detect_set_pm(unsigned int op, int *pc, int imm)
|
|||
int reg = is_write ? ((tmpv>>4)&0x7) : (tmpv&0x7);
|
||||
if (reg > 4) tr_unhandled();
|
||||
if ((tmpv & 0x0f) != 0 && (tmpv & 0xf0) != 0) tr_unhandled();
|
||||
known_regs.pmac_read[is_write ? reg + 5 : reg] = pmcv;
|
||||
if (is_write)
|
||||
known_regs.pmac_write[reg] = pmcv;
|
||||
else
|
||||
known_regs.pmac_read[reg] = pmcv;
|
||||
known_regb |= is_write ? (1 << (reg+25)) : (1 << (reg+20));
|
||||
dirty_regb |= is_write ? (1 << (reg+25)) : (1 << (reg+20));
|
||||
known_regs.emu_status &= ~SSP_PMC_SET;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue