Skip to content

Commit

Permalink
Revert WRAM wait state change
Browse files Browse the repository at this point in the history
Breaks GBA Micro compatibility
  • Loading branch information
Kippykip committed Jan 24, 2020
1 parent 9f581a0 commit f4059b3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/i_system_gba.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ extern "C"
#define TM_FREQ_256 0x0002

#define REG_WAITCNT *((vu16 *)(0x4000204))
#define REG_MEMCTRL *((vu32 *)(0x4000800))


//**************************************************************************************
Expand Down Expand Up @@ -68,9 +67,6 @@ void I_InitScreen_e32()
//Set gamepak wait states and prefetch.
REG_WAITCNT = 0x46DA;

//Set memory clocks to 2/2/4
REG_MEMCTRL = 0x0E000020;

consoleDemoInit();

REG_TM2CNT_L= 65535-1872; // 1872 ticks = 1/35 secs
Expand Down

0 comments on commit f4059b3

Please sign in to comment.