Fix null pointer dereference when building floppy Format menu
Detail: s/ADFSFiler - The commenting out of the MOV R5,#0 line in a previous bug fix left a null pointer dereference in the code when EnumFormats_Flags is checked. Examination of the code suggests the intent was to use the MOV R5,#0 to skip the EnumFormats_Flags check, so modify the preceeding CMP to check for R5=0 or R0=0. Admin: Tested in Iyonix ROM softload Fixes issue #436 https://www.riscosopen.org/tracker/tickets/436 Version 1.12. Tagged as 'ADFSFiler-1_12'
Showing with 22 additions and 22 deletions