Skip to content

Commit

Permalink
unin(stage1): wrong conditional lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Wack0 committed Oct 21, 2024
1 parent 5725885 commit ad49c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcloader_unin/source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ int _start(int argc, char** argv, tfpOpenFirmwareCall of) {
// that way we don't have to access vram in a byteswapped way
FbGetDetails(Screen, Desc, false);
} else {
if (!FbSetDepthNv(Screen) || !FbSetDepthAti(Screen)) {
if (!FbSetDepthNv(Screen) && !FbSetDepthAti(Screen)) {
StdOutWrite("Could not set up 32bpp framebuffer\r\n");
OfExit();
return -12;
Expand Down

0 comments on commit ad49c4b

Please sign in to comment.