xb format --all (we are now format clean). Buildbot will yell at you.
This commit is contained in:
@@ -66,7 +66,8 @@ bool X64CodeCache::Initialize() {
|
||||
|
||||
// Create mmap file. This allows us to share the code cache with the debugger.
|
||||
wchar_t file_name[256];
|
||||
wsprintf(file_name, L"Local\\xenia_code_cache_%p", Clock::QueryHostTickCount());
|
||||
wsprintf(file_name, L"Local\\xenia_code_cache_%p",
|
||||
Clock::QueryHostTickCount());
|
||||
file_name_ = file_name;
|
||||
mapping_ = CreateFileMapping(INVALID_HANDLE_VALUE, NULL,
|
||||
PAGE_EXECUTE_READWRITE | SEC_RESERVE, 0,
|
||||
|
||||
@@ -358,8 +358,9 @@ template <hir::Opcode OPCODE, typename DEST, typename SRC1, typename SRC2>
|
||||
struct I<OPCODE, DEST, SRC1, SRC2> : DestField<DEST> {
|
||||
typedef DestField<DEST> BASE;
|
||||
static const hir::Opcode opcode = OPCODE;
|
||||
static const uint32_t key = InstrKey::Construct<
|
||||
OPCODE, DEST::key_type, SRC1::key_type, SRC2::key_type>::value;
|
||||
static const uint32_t key =
|
||||
InstrKey::Construct<OPCODE, DEST::key_type, SRC1::key_type,
|
||||
SRC2::key_type>::value;
|
||||
static const KeyType dest_type = DEST::key_type;
|
||||
static const KeyType src1_type = SRC1::key_type;
|
||||
static const KeyType src2_type = SRC2::key_type;
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
// TODO(benvanik): fix this so we can auto format.
|
||||
// clang-format off
|
||||
|
||||
// A note about vectors:
|
||||
// Xenia represents vectors as xyzw pairs, with indices 0123.
|
||||
// XMM registers are xyzw pairs with indices 3210, making them more like wzyx.
|
||||
|
||||
@@ -205,7 +205,7 @@ void TraceMemoryStoreV128(void* raw_context, uint32_t address, __m128 value) {
|
||||
}
|
||||
|
||||
void TraceMemset(void* raw_context, uint32_t address, uint8_t value,
|
||||
uint32_t length) {
|
||||
uint32_t length) {
|
||||
auto thread_state = *((ThreadState**)raw_context);
|
||||
DPRINT("memset %.8X-%.8X (%d) = %.2X", address, address + length, length,
|
||||
value);
|
||||
|
||||
Reference in New Issue
Block a user