Skip to content

Commit

Permalink
BIOS loading
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Jan 28, 2025
1 parent c040ce9 commit 5a1fd06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ Memory::Memory(Cartridge* cartridge, Input* input, Audio* audio)
m_audio = audio;
InitPointer(m_disassembler);
InitPointer(m_test_memory);
InitPointer(m_bios);
}

Memory::~Memory()
{
SafeDeleteArray(m_bios);
SafeDeleteArray(m_test_memory);
if (IsValidPointer(m_disassembler))
{
Expand Down

0 comments on commit 5a1fd06

Please sign in to comment.