Struggling amidst a continued downturn in the PC industry, AMD reported a wider loss than expected, though beating analysts’ revenue expectations.

AMD reported a third quarter 2015 loss of $197 million on revenue of $1.06 billion, blaming lower CPU and GPU sales for the red ink. A year ago, AMD reported a profit of $17 million on revenue of $1.43 billion, a drop of 26 percent in revenue. Analysts surveyed by Thomson Reuters expected AMD to report a loss of 12 cents a share and revenue of $995.87 million for the third quarter.

AMD’s woes were concentrated within its PC business, which suffered a $181 million operating loss on $424 million in revenue. A year ago, that division was pulling in $781 million in revenue, though it reported a loss of $17 million. AMD blamed lower sales for the drop, as well as an inventory write-down of older devices. While processor prices decreased, GPU prices increased, due to “new GPU offerings” like the Radeon R9 Fury series.