Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Extrems committed Feb 5, 2015
1 parent a6a27c8 commit 7d39fbc
Show file tree
Hide file tree
Showing 10 changed files with 114 additions and 156 deletions.
12 changes: 0 additions & 12 deletions gc_memory/tlb.c
Expand Up @@ -62,18 +62,6 @@ void tlb_mem2_init()
extern unsigned long interp_addr;
unsigned long virtual_to_physical_address(unsigned long addresse, int w)
{
if (ROM_SETTINGS.isGoldenEye && addresse >= 0x7f000000 && addresse < 0x80000000)
{
switch(ROM_HEADER.Country_code&0xFF)
{
case 'J':
return 0xb0034b70 + (addresse & MEMMASK);
case 'P':
return 0xb00329f0 + (addresse & MEMMASK);
default:
return 0xb0034b30 + (addresse & MEMMASK);
}
}
if (w == 1)
{
#ifdef USE_TLB_CACHE
Expand Down
1 change: 0 additions & 1 deletion main/rom.h
Expand Up @@ -66,7 +66,6 @@ typedef struct _rom_settings
{
char goodname[256];
char isEEPROM16k;
char isGoldenEye;
} rom_settings;
extern rom_settings ROM_SETTINGS;

Expand Down
1 change: 0 additions & 1 deletion main/rom_gc.c
Expand Up @@ -174,7 +174,6 @@ int rom_read(fileBrowser_file* file){
}
// Fix save type for certain special sized (16kbit) eeprom games
ROM_SETTINGS.isEEPROM16k = isEEPROM16k();
ROM_SETTINGS.isGoldenEye = strcmp(ROM_SETTINGS.goodname, "GOLDENEYE") == 0;

//Set VI limit based on ROM header
InitTimer();
Expand Down

0 comments on commit 7d39fbc

Please sign in to comment.