File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -805,14 +805,14 @@ static void load_rom_info_from_file (path_t *path, rom_info_t *rom_info) {
805805
806806 mini_t * rom_info_ini = mini_load (path_get (rom_info_path ));
807807
808- const char * rom_description = "None.\n\n\n\n\n\n\ 0" ;
808+ const char * rom_description = "None.\n\0" ;
809809
810810 rom_info -> boot_override .cic = false;
811811 rom_info -> boot_override .save = false;
812812 rom_info -> boot_override .tv = false;
813813
814814 if (rom_info_ini ) {
815- rom_description = mini_get_string (rom_info_ini , "metadata" , "description" , "None.\n\n\n\n\n\n\ 0" );
815+ rom_description = mini_get_string (rom_info_ini , "metadata" , "description" , "None.\n\0" );
816816
817817 rom_info -> boot_override .cic_type = mini_get_int (rom_info_ini , "custom_boot" , "cic_type" , ROM_CIC_TYPE_AUTOMATIC );
818818 if (rom_info -> boot_override .cic_type != ROM_CIC_TYPE_AUTOMATIC ) {
Original file line number Diff line number Diff line change @@ -253,14 +253,23 @@ static void draw (menu_t *menu, surface_t *d) {
253253 "\n"
254254 "\n"
255255 "\n"
256- "Description:\n %s\n\n"
256+ "Description:\n %s\n\n" ,
257+ menu -> load .rom_info .metadata .description
258+ );
259+
260+ ui_components_main_text_draw (
261+ ALIGN_LEFT , VALIGN_TOP ,
262+ "\n"
263+ "\n"
264+ "\n"
265+ "\n"
266+ "\n\n\n\n\n\n\n\n\n"
257267 "Expansion PAK: %s\n"
258268 "TV type: %s\n"
259269 "CIC: %s\n"
260270 "Datel Cheats: %s\n"
261271 "Patches: %s\n"
262272 "Save type: %s\n" ,
263- menu -> load .rom_info .metadata .description ,
264273 format_rom_expansion_pak_info (menu -> load .rom_info .features .expansion_pak ),
265274 format_rom_tv_type (rom_info_get_tv_type (& menu -> load .rom_info )),
266275 format_cic_type (rom_info_get_cic_type (& menu -> load .rom_info )),
You can’t perform that action at this time.
0 commit comments