mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 07:43:36 +01:00
Centralize color conversion functions in Common/ColorConv.
This commit is contained in:
1 parent
41001637ce
commit
2623a48b4a
23 files changed
+386
-424
No files matched your search
+2
-2
@@ -23,6 +23,7 @@
|
||||
#endif
|
||||
|
||||
#include "Common/FileUtil.h"
|
||||
#include "Common/ColorConv.h"
|
||||
#include "Core/Config.h"
|
||||
#include "Core/Screenshot.h"
|
||||
#include "GPU/Common/GPUDebugInterface.h"
|
||||
@@ -48,8 +49,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
bool put_buf(const void *buf, int len) override
|
||||
{
|
||||
bool put_buf(const void *buf, int len) override {
|
||||
if (fp_) {
|
||||
if (fwrite(buf, len, 1, fp_) != 1) {
|
||||
fclose(fp_);
|
||||
|
||||
Reference in new issue
Block a user