Skip to content

Commit

Permalink
[Chores] Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble authored Mar 4, 2025
1 parent 17a8883 commit 361fa72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions src/core/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ class Debug {
struct InternalTemporaryList {};
typedef Intrusive::List<Breakpoint, InternalTemporaryList> BreakpointTemporaryListType;

typedef std::function<bool(Breakpoint*, uint32_t address, unsigned width, const char* cause)>
BreakpointInvoker;
typedef std::function<bool(Breakpoint*, uint32_t address, unsigned width, const char* cause)> BreakpointInvoker;

class Breakpoint : public BreakpointTreeType::Node,
public BreakpointUserListType::Node,
Expand Down Expand Up @@ -165,8 +164,8 @@ class Debug {
if (m_lastBP == bp) m_lastBP = nullptr;
delete const_cast<Breakpoint*>(bp);
}
void removeAllBreakpoints() {
m_breakpoints.clear();
void removeAllBreakpoints() {
m_breakpoints.clear();
m_lastBP = nullptr;
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/r3000a.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
#include "core/psxcounters.h"
#include "core/psxemulator.h"
#include "core/psxmem.h"
#include "mips/common/util/mips.hh"
#include "support/file.h"
#include "support/hashtable.h"
#include "mips/common/util/mips.hh"

#if defined(__i386__) || defined(_M_IX86)
#define DYNAREC_NONE // Hahano
Expand Down

0 comments on commit 361fa72

Please sign in to comment.