Fix inverted check on system file write

This commit is contained in:
Nightkingale 2024-05-18 08:16:00 -06:00
parent 5661991590
commit 8a445a98f5

View File

@ -126,7 +126,7 @@ unlink_account()
std::ofstream account_output(ACCOUNT_FILE);
account_output << processed_contents; // Write processed_contents to the file.
if (!account_output.bad()) {
if (account_output.bad()) {
draw_error_menu("Error writing to system account.dat file!");
OSEnableHomeButtonMenu(1);
return false;