Ticket #8887: 0001-haiku-loader-Relabbeled-BIOS-Menu.patch

File 0001-haiku-loader-Relabbeled-BIOS-Menu.patch, 3.3 KB (added by RahulAN, 2 years ago)

Patch against source revision

  • src/system/boot/platform/amiga_m68k/menu.cpp

    From a2440a8c8c373209d5e9808ad16a231171a31268 Mon Sep 17 00:00:00 2001
    From: Rahul Jain <talentediq@gmail.com>
    Date: Thu, 25 May 2017 14:17:02 +0530
    Subject: [PATCH] [haiku-loader] Relabbeled BIOS Menu
    
    As suggested by PulkoMandy, need to change:
    1. Use fail-safe video mode -> Use fail-safe graphics driver
    2. Select fail-safe video mode -> Select screen resolution
    
    fixes #8887
    ---
     src/system/boot/platform/amiga_m68k/menu.cpp | 4 ++--
     src/system/boot/platform/atari_m68k/menu.cpp | 4 ++--
     src/system/boot/platform/bios_ia32/menu.cpp  | 4 ++--
     3 files changed, 6 insertions(+), 6 deletions(-)
    
    diff --git a/src/system/boot/platform/amiga_m68k/menu.cpp b/src/system/boot/platform/amiga_m68k/menu.cpp
    index ec82229..67690bd 100644
    a b platform_add_menus(Menu *menu)  
    1919
    2020    switch (menu->Type()) {
    2121        case MAIN_MENU:
    22             menu->AddItem(item = new(nothrow) MenuItem("Select fail-safe video mode", video_mode_menu()));
     22            menu->AddItem(item = new(nothrow) MenuItem("Select screen resolution", video_mode_menu()));
    2323            item->SetTarget(video_mode_hook);
    2424            break;
    2525        case SAFE_MODE_MENU:
    26             menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe video mode"));
     26            menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe graphics driver"));
    2727            item->SetType(MENU_ITEM_MARKABLE);
    2828            item->SetData(B_SAFEMODE_FAIL_SAFE_VIDEO_MODE);
    2929            item->SetHelpText("The system will use VESA mode and won't try to open any video graphics driver");
  • src/system/boot/platform/atari_m68k/menu.cpp

    diff --git a/src/system/boot/platform/atari_m68k/menu.cpp b/src/system/boot/platform/atari_m68k/menu.cpp
    index 57a448b..b32d5d4 100644
    a b platform_add_menus(Menu *menu)  
    2020
    2121    switch (menu->Type()) {
    2222        case MAIN_MENU:
    23             menu->AddItem(item = new(nothrow) MenuItem("Select fail-safe video mode", video_mode_menu()));
     23            menu->AddItem(item = new(nothrow) MenuItem("Select screen resolution", video_mode_menu()));
    2424            item->SetTarget(video_mode_hook);
    2525            break;
    2626        case SAFE_MODE_MENU:
    27             menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe video mode"));
     27            menu->AddItem(item = new(nothrow) MenuItem("Use fail-safe graphics driver"));
    2828            item->SetType(MENU_ITEM_MARKABLE);
    2929            item->SetData(B_SAFEMODE_FAIL_SAFE_VIDEO_MODE);
    3030            item->SetHelpText("The system will use VESA mode and won't try to open any video graphics driver");
  • src/system/boot/platform/bios_ia32/menu.cpp

    diff --git a/src/system/boot/platform/bios_ia32/menu.cpp b/src/system/boot/platform/bios_ia32/menu.cpp
    index 6d59614..42d8e75 100644
    a b platform_add_menus(Menu* menu)  
    4141
    4242    switch (menu->Type()) {
    4343        case MAIN_MENU:
    44             item = new(std::nothrow) MenuItem("Select fail-safe video mode",
     44            item = new(std::nothrow) MenuItem("Select screen resolution",
    4545                video_mode_menu());
    4646            if (item != NULL) {
    4747                menu->AddItem(item);
    platform_add_menus(Menu* menu)  
    5353            break;
    5454
    5555        case SAFE_MODE_MENU:
    56             item = new(std::nothrow) MenuItem("Use fail-safe video mode");
     56            item = new(std::nothrow) MenuItem("Use fail-safe graphics driver");
    5757            if (item != NULL) {
    5858                menu->AddItem(item);
    5959                item->SetType(MENU_ITEM_MARKABLE);