Skip to content

Commit

Permalink
reset PC
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Jul 2, 2024
1 parent fea262b commit 69ea067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/huc6280.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ void HuC6280::Init()

void HuC6280::Reset()
{
m_PC.SetLow(m_memory->Read(0xFFFC));
m_PC.SetHigh(m_memory->Read(0xFFFD));
m_PC.SetLow(m_memory->Read(0x1FFE));
m_PC.SetHigh(m_memory->Read(0x1FFF));
m_A.SetValue(0x00);
m_X.SetValue(0x00);
m_Y.SetValue(0x00);
Expand Down

0 comments on commit 69ea067

Please sign in to comment.