Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion OnlineCore/include/Platform/Core/StringStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ class StringStream : public RootObject {
void BytesDump(const unsigned char*, u64);
void BytesAsciiDump(const unsigned char*, u64);

char* Begin() const{ return mBegin; }
char* Begin() const { return mBegin; }

char* End() const { return mEnd; }

private:
Expand Down
8 changes: 4 additions & 4 deletions OnlineCore/src/Core/InstantiationContext.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#include "Core/InstantiationContext.h"

#define SET_NULL(ptr) \
(ptr) = 0; \
asm("");

namespace nn::nex {
InstantiationContext::InstantiationContext() {
byte_80 = true;
Expand All @@ -13,10 +17,6 @@ void InstantiationContext::AddInstance(InstanceControl* instanceControl, u32) {}

void InstantiationContext::DelInstance(InstanceControl* instanceControl, u32) {}

#define SET_NULL(ptr) \
(ptr) = 0; \
asm("");

void InstantiationContext::InitContext() {
SET_NULL(m_Context[0]);
SET_NULL(m_Context[1]);
Expand Down