mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
overhaul of translation cache and sh2 literals handling
This commit is contained in:
parent
d760c90f3a
commit
f133766faa
4 changed files with 525 additions and 364 deletions
|
@ -599,7 +599,8 @@ struct Pico32xMem
|
|||
{
|
||||
unsigned char sdram[0x40000];
|
||||
#ifdef DRC_SH2
|
||||
unsigned short drcblk_ram[1 << (18 - SH2_DRCBLK_RAM_SHIFT)];
|
||||
unsigned char drcblk_ram[1 << (18 - SH2_DRCBLK_RAM_SHIFT)];
|
||||
unsigned char drclit_ram[1 << (18 - SH2_DRCBLK_RAM_SHIFT)];
|
||||
#endif
|
||||
unsigned short dram[2][0x20000/2]; // AKA fb
|
||||
union {
|
||||
|
@ -607,7 +608,8 @@ struct Pico32xMem
|
|||
unsigned char m68k_rom_bank[0x10000]; // M68K_BANK_SIZE
|
||||
};
|
||||
#ifdef DRC_SH2
|
||||
unsigned short drcblk_da[2][1 << (12 - SH2_DRCBLK_DA_SHIFT)];
|
||||
unsigned char drcblk_da[2][1 << (12 - SH2_DRCBLK_DA_SHIFT)];
|
||||
unsigned char drclit_da[2][1 << (12 - SH2_DRCBLK_DA_SHIFT)];
|
||||
#endif
|
||||
union {
|
||||
unsigned char b[0x800];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue