Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
beetle-pce-libretro
Commits
17c298af
Commit
17c298af
authored
Jul 12, 2020
by
Libretro-Admin
Browse files
Buildfixes
parent
77eda41d
Changes
3
Hide whitespace changes
Inline
Side-by-side
libretro.cpp
View file @
17c298af
...
...
@@ -951,7 +951,7 @@ bool retro_load_game_special(unsigned, const struct retro_game_info *, size_t)
#define MAX_PLAYERS 5
#define MAX_BUTTONS 15
static
uint8_t
input_buf
[
MAX_PLAYERS
][
2
]
=
{
0
};
static
uint8_t
input_buf
[
MAX_PLAYERS
][
2
]
=
{
{
0
}
};
static
unsigned
int
input_type
[
MAX_PLAYERS
]
=
{
0
};
static
int16_t
mousedata
[
MAX_PLAYERS
][
3
]
=
{{
0
}};
...
...
@@ -1669,20 +1669,44 @@ void retro_run(void)
bool
resolution_changed
=
false
;
rects
[
0
]
=
~
0
;
EmulateSpecStruct
spec
=
{
0
};
EmulateSpecStruct
spec
;
spec
.
surface
=
surf
;
spec
.
VideoFormatChanged
=
true
;
spec
.
DisplayRect
.
x
=
0
;
spec
.
DisplayRect
.
y
=
0
;
spec
.
DisplayRect
.
w
=
0
;
spec
.
DisplayRect
.
h
=
0
;
spec
.
LineWidths
=
rects
;
spec
.
CustomPalette
=
use_palette
?
composite_palette
:
NULL
;
spec
.
CustomPaletteNumEntries
=
use_palette
?
512
:
0
;
spec
.
IsFMV
=
NULL
;
spec
.
InterlaceOn
=
false
;
spec
.
InterlaceField
=
false
;
spec
.
skip
=
false
;
spec
.
SoundFormatChanged
=
false
;
spec
.
SoundRate
=
44100
;
spec
.
SoundBuf
=
sound_buf
;
spec
.
LineWidths
=
rects
;
spec
.
SoundBufMaxSize
=
sizeof
(
sound_buf
)
/
2
;
spec
.
SoundBufSize
=
0
;
spec
.
SoundBufSizeALMS
=
0
;
spec
.
MasterCycles
=
0
;
spec
.
MasterCyclesALMS
=
0
;
spec
.
SoundVolume
=
1.0
;
spec
.
soundmultiplier
=
1.0
;
spec
.
SoundBufSize
=
0
;
spec
.
CustomPalette
=
use_palette
?
composite_palette
:
NULL
;
spec
.
CustomPaletteNumEntries
=
use_palette
?
512
:
0
;
spec
.
VideoFormatChanged
=
true
;
spec
.
SoundFormatChanged
=
false
;
spec
.
skip
=
false
;
spec
.
NeedRewind
=
false
;
spec
.
NeedSoundReverse
=
false
;
if
(
spec
.
SoundRate
!=
last_sound_rate
)
{
...
...
mednafen/cdrom/CDAccess_Image.cpp
View file @
17c298af
...
...
@@ -853,7 +853,6 @@ bool CDAccess_Image::ImageOpen(const std::string& path, bool image_memcache)
return
false
;
}
FirstTrack
=
FirstTrack
;
NumTracks
=
1
+
LastTrack
-
FirstTrack
;
int32_t
RunningLBA
=
0
;
...
...
mednafen/git.h
View file @
17c298af
...
...
@@ -214,8 +214,8 @@ typedef struct
// Set and used internally if driver-side code hasn't specified a non-NULL value for CustomPalette. If driver side uses it, driver side should
// set VideoFormatChanged to true whenever the custom palette changes.
//
uint8
*
CustomPalette
=
nullptr
;
uint32
CustomPaletteNumEntries
=
0
;
uint8
*
CustomPalette
;
uint32
CustomPaletteNumEntries
;
// TODO
bool
*
IsFMV
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment