mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
32x: change irq hadling, make it more drc friendly
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@816 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
a8b03e2d4d
commit
6add7875b5
5 changed files with 46 additions and 25 deletions
|
@ -259,7 +259,7 @@ extern SH2 sh2s[2];
|
|||
#define sh2_reg(c, x) (c) ? ssh2.r[x] : msh2.r[x]
|
||||
#define sh2_gbr(c) (c) ? ssh2.gbr : msh2.gbr
|
||||
#define sh2_vbr(c) (c) ? ssh2.vbr : msh2.vbr
|
||||
#define sh2_sr(c) (c) ? ssh2.sr : msh2.sr
|
||||
#define sh2_sr(c) (((c) ? ssh2.sr : msh2.sr) & 0xfff)
|
||||
|
||||
#define sh2_set_gbr(c, v) \
|
||||
{ if (c) ssh2.gbr = v; else msh2.gbr = v; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue