File tree Expand file tree Collapse file tree 5 files changed +11
-0
lines changed Expand file tree Collapse file tree 5 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -672,6 +672,7 @@ class BeebThread {
672
672
private:
673
673
};
674
674
#endif // B2_LIBRETRO_CORE
675
+
675
676
// Wake thread up when emulator is being resumed. The thread could
676
677
// have gone to sleep.
677
678
class DebugWakeUpMessage : public Message {
Original file line number Diff line number Diff line change 14
14
15
15
// ////////////////////////////////////////////////////////////////////////
16
16
// ////////////////////////////////////////////////////////////////////////
17
+
17
18
#ifndef B2_LIBRETRO_CORE
18
19
LOG_EXTERN (OUTPUT);
19
20
#endif // B2_LIBRETRO_CORE
21
+
20
22
const std::string DirectDiscImage::LOAD_METHOD_DIRECT = " direct" ;
21
23
22
24
// ////////////////////////////////////////////////////////////////////////
@@ -102,6 +104,7 @@ std::string DirectDiscImage::GetDescription() const {
102
104
103
105
// ////////////////////////////////////////////////////////////////////////
104
106
// ////////////////////////////////////////////////////////////////////////
107
+
105
108
#ifndef B2_LIBRETRO_CORE
106
109
// TODO - basically the same as MemoryDiscImage.
107
110
void DirectDiscImage::AddFileDialogFilter (FileDialog *fd) const {
@@ -111,6 +114,7 @@ void DirectDiscImage::AddFileDialogFilter(FileDialog *fd) const {
111
114
}
112
115
}
113
116
#endif
117
+
114
118
// ////////////////////////////////////////////////////////////////////////
115
119
// ////////////////////////////////////////////////////////////////////////
116
120
Original file line number Diff line number Diff line change 17
17
18
18
// ////////////////////////////////////////////////////////////////////////
19
19
// ////////////////////////////////////////////////////////////////////////
20
+
20
21
#ifndef B2_LIBRETRO_CORE
21
22
void DumpRendererInfo (Log *log, const SDL_RendererInfo *info) {
22
23
LogIndenter indent (log);
@@ -40,6 +41,7 @@ void SetRenderScaleQualityHint(bool filter) {
40
41
SDL_SetHint (SDL_HINT_RENDER_SCALE_QUALITY, filter ? " linear" : " nearest" );
41
42
}
42
43
#endif // B2_LIBRETRO_CORE
44
+
43
45
// ////////////////////////////////////////////////////////////////////////
44
46
// ////////////////////////////////////////////////////////////////////////
45
47
@@ -214,6 +216,7 @@ void GetThousandsString(char *str, uint64_t value) {
214
216
215
217
// ////////////////////////////////////////////////////////////////////////
216
218
// ////////////////////////////////////////////////////////////////////////
219
+
217
220
#ifndef B2_LIBRETRO_CORE
218
221
void SDL_Deleter::operator ()(SDL_Window *w) const {
219
222
SDL_DestroyWindow (w);
@@ -301,6 +304,7 @@ SDL_PixelFormat *ClonePixelFormat(const SDL_PixelFormat *pixel_format) {
301
304
return SDL_AllocFormat (pixel_format->format );
302
305
}
303
306
#endif // B2_LIBRETRO_CORE
307
+
304
308
// ////////////////////////////////////////////////////////////////////////
305
309
// ////////////////////////////////////////////////////////////////////////
306
310
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ class DiscImage : public std::enable_shared_from_this<DiscImage> {
80
80
#ifndef B2_LIBRETRO_CORE
81
81
virtual void AddFileDialogFilter (FileDialog *fd) const = 0;
82
82
#endif
83
+
83
84
// Save a copy of this disc image to the given file. If
84
85
// successful, returns a clone with the new name and whatever load
85
86
// method indicates a file.
Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ struct DiscInterfaceDef {
85
85
// This disc interface is used for the B+ and B+128.
86
86
extern const DiscInterfaceDef DISC_INTERFACE_ACORN_1770;
87
87
#ifdef B2_LIBRETRO_CORE
88
+ // Disc interface definitions are used directly by the libretro core
88
89
extern const DiscInterfaceDef DISC_INTERFACE_WATFORD_DDB2;
89
90
extern const DiscInterfaceDef DISC_INTERFACE_WATFORD_DDB3;
90
91
extern const DiscInterfaceDef DISC_INTERFACE_OPUS;
You can’t perform that action at this time.
0 commit comments