gsp_gpu: Restore comment
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
// Copyright 2015 Citra Emulator Project
|
// Copyright 2015 Citra Emulator Project
|
||||||
// Licensed under GPLv2 or any later version
|
// Licensed under GPLv2 or any later version
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
#pragma optimize("", off)
|
|
||||||
#include <boost/serialization/shared_ptr.hpp>
|
#include <boost/serialization/shared_ptr.hpp>
|
||||||
#include <boost/serialization/unique_ptr.hpp>
|
#include <boost/serialization/unique_ptr.hpp>
|
||||||
#include <cryptopp/base64.h>
|
#include <cryptopp/base64.h>
|
||||||
|
@ -95,6 +95,8 @@ struct FrameBufferUpdate {
|
|||||||
u32 pad2;
|
u32 pad2;
|
||||||
};
|
};
|
||||||
static_assert(sizeof(FrameBufferUpdate) == 0x40, "Struct has incorrect size");
|
static_assert(sizeof(FrameBufferUpdate) == 0x40, "Struct has incorrect size");
|
||||||
|
// TODO: Not sure if this padding is correct.
|
||||||
|
// Chances are the second block is stored at offset 0x24 rather than 0x20.
|
||||||
static_assert(offsetof(FrameBufferUpdate, framebuffer_info[1]) == 0x20,
|
static_assert(offsetof(FrameBufferUpdate, framebuffer_info[1]) == 0x20,
|
||||||
"FrameBufferInfo element has incorrect alignment");
|
"FrameBufferInfo element has incorrect alignment");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user