Skip to content

Conversation

@theCapypara
Copy link
Contributor

As a side note, at a quick glance it seems that this also affects the Windows and Linux GUI frontends (didn't check Mac), since I couldn't find NDS_FreeROM(); being called there when opening a new ROM. The Windows GUI only seems to free the old ROM when explicitly told to close the ROM. However this is only from a quick glance at the code, I didn't actually do more investigation, but it might be worth to check.

@theCapypara theCapypara requested a review from rofl0r March 30, 2022 16:34
@theCapypara theCapypara requested a review from rofl0r March 30, 2022 18:18
clear_savestates();
i = NDS_LoadROM(filename);
if (i > 0) {
rom_opened = true;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if rom_opened was already true, it will stay true even if i <= 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants