[haiku-commits] haiku: hrev54189 - src/apps/pulse

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 11 May 2020 15:53:23 -0400 (EDT)

hrev54189 adds 1 changeset to branch 'master'
old head: 83bd4fdac39727ec18c42a94cb0171d3965944aa
new head: 9c9f963ab4ec91c63b56d15dd03aba36a5a76edf
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=9c9f963ab4ec+%5E83bd4fdac397

----------------------------------------------------------------------------

9c9f963ab4ec: Pulse: show Intel logo also on 64bit systems.

                             [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev54189
Commit:      9c9f963ab4ec91c63b56d15dd03aba36a5a76edf
URL:         https://git.haiku-os.org/haiku/commit/?id=9c9f963ab4ec
Author:      Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date:        Mon May 11 19:52:13 2020 UTC

----------------------------------------------------------------------------

1 file changed, 5 insertions(+), 5 deletions(-)
src/apps/pulse/NormalPulseView.cpp | 10 +++++-----

----------------------------------------------------------------------------

diff --git a/src/apps/pulse/NormalPulseView.cpp 
b/src/apps/pulse/NormalPulseView.cpp
index 4799657adc..2b694e89e9 100644
--- a/src/apps/pulse/NormalPulseView.cpp
+++ b/src/apps/pulse/NormalPulseView.cpp
@@ -128,10 +128,6 @@ NormalPulseView::DetermineVendorAndProcessor()
 
        const unsigned char* logo = NULL;
        size_t logoSize = 0;
-#if __POWERPC__
-       logo = PowerPCLogo;
-       logoSize = sizeof(PowerPCLogo);
-#elif __i386__
        uint32 topologyNodeCount = 0;
        cpu_topology_node_info* topology = NULL;
 
@@ -158,6 +154,11 @@ NormalPulseView::DetermineVendorAndProcessor()
                                        logoSize = sizeof(kIntelLogo);
                                        break;
 
+                               case B_CPU_VENDOR_MOTOROLA:
+                                       logo = PowerPCLogo;
+                                       logoSize = sizeof(PowerPCLogo);
+                                       break;
+
                                case B_CPU_VENDOR_VIA:
                                        logo = kViaLogo;
                                        logoSize = sizeof(kViaLogo);
@@ -172,7 +173,6 @@ NormalPulseView::DetermineVendorAndProcessor()
        }
 
        delete[] topology;
-#endif
 
        if (logo != NULL) {
                fBrandLogo = new BBitmap(BRect(0, 0, 47, 47), B_RGBA32);


Other related posts:

  • » [haiku-commits] haiku: hrev54189 - src/apps/pulse - Adrien Destugues