Skip to content

Commit ce6ac2c

Browse files
committed
Formatting changes to prepare for PR
1 parent 7d2a7a8 commit ce6ac2c

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

src/b2/BeebThread.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@ class BeebThread {
672672
private:
673673
};
674674
#endif // B2_LIBRETRO_CORE
675+
675676
// Wake thread up when emulator is being resumed. The thread could
676677
// have gone to sleep.
677678
class DebugWakeUpMessage : public Message {

src/b2/DirectDiscImage.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414

1515
//////////////////////////////////////////////////////////////////////////
1616
//////////////////////////////////////////////////////////////////////////
17+
1718
#ifndef B2_LIBRETRO_CORE
1819
LOG_EXTERN(OUTPUT);
1920
#endif // B2_LIBRETRO_CORE
21+
2022
const std::string DirectDiscImage::LOAD_METHOD_DIRECT = "direct";
2123

2224
//////////////////////////////////////////////////////////////////////////
@@ -102,6 +104,7 @@ std::string DirectDiscImage::GetDescription() const {
102104

103105
//////////////////////////////////////////////////////////////////////////
104106
//////////////////////////////////////////////////////////////////////////
107+
105108
#ifndef B2_LIBRETRO_CORE
106109
// TODO - basically the same as MemoryDiscImage.
107110
void DirectDiscImage::AddFileDialogFilter(FileDialog *fd) const {
@@ -111,6 +114,7 @@ void DirectDiscImage::AddFileDialogFilter(FileDialog *fd) const {
111114
}
112115
}
113116
#endif
117+
114118
//////////////////////////////////////////////////////////////////////////
115119
//////////////////////////////////////////////////////////////////////////
116120

src/b2/misc.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
//////////////////////////////////////////////////////////////////////////
1919
//////////////////////////////////////////////////////////////////////////
20+
2021
#ifndef B2_LIBRETRO_CORE
2122
void DumpRendererInfo(Log *log, const SDL_RendererInfo *info) {
2223
LogIndenter indent(log);
@@ -40,6 +41,7 @@ void SetRenderScaleQualityHint(bool filter) {
4041
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, filter ? "linear" : "nearest");
4142
}
4243
#endif // B2_LIBRETRO_CORE
44+
4345
//////////////////////////////////////////////////////////////////////////
4446
//////////////////////////////////////////////////////////////////////////
4547

@@ -214,6 +216,7 @@ void GetThousandsString(char *str, uint64_t value) {
214216

215217
//////////////////////////////////////////////////////////////////////////
216218
//////////////////////////////////////////////////////////////////////////
219+
217220
#ifndef B2_LIBRETRO_CORE
218221
void SDL_Deleter::operator()(SDL_Window *w) const {
219222
SDL_DestroyWindow(w);
@@ -301,6 +304,7 @@ SDL_PixelFormat *ClonePixelFormat(const SDL_PixelFormat *pixel_format) {
301304
return SDL_AllocFormat(pixel_format->format);
302305
}
303306
#endif // B2_LIBRETRO_CORE
307+
304308
//////////////////////////////////////////////////////////////////////////
305309
//////////////////////////////////////////////////////////////////////////
306310

src/beeb/include/beeb/DiscImage.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class DiscImage : public std::enable_shared_from_this<DiscImage> {
8080
#ifndef B2_LIBRETRO_CORE
8181
virtual void AddFileDialogFilter(FileDialog *fd) const = 0;
8282
#endif
83+
8384
// Save a copy of this disc image to the given file. If
8485
// successful, returns a clone with the new name and whatever load
8586
// method indicates a file.

src/beeb/include/beeb/DiscInterface.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ struct DiscInterfaceDef {
8585
// This disc interface is used for the B+ and B+128.
8686
extern const DiscInterfaceDef DISC_INTERFACE_ACORN_1770;
8787
#ifdef B2_LIBRETRO_CORE
88+
// Disc interface definitions are used directly by the libretro core
8889
extern const DiscInterfaceDef DISC_INTERFACE_WATFORD_DDB2;
8990
extern const DiscInterfaceDef DISC_INTERFACE_WATFORD_DDB3;
9091
extern const DiscInterfaceDef DISC_INTERFACE_OPUS;

0 commit comments

Comments
 (0)