Skip to content

Commit

Permalink
Added alternate name for libSDL2_image, libSDL2_ttf and libexpat
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed May 30, 2021
1 parent 2159d40 commit 0d42b42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/library_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ GO("libsdl2-2.0.so.0", sdl2)
GO("libSDL2_mixer-2.0.so.0", sdl2mixer)
GO("libSDL2_net-2.0.so.0", sdl2net)
GO("libSDL2_image-2.0.so.0", sdl2image)
GO("libSDL2_image.so", sdl2image)
GO("libSDL2_ttf-2.0.so.0", sdl2ttf)
GO("libSDL2_ttf.so", sdl2ttf)
GO("libSDL-1.2.so.0", sdl1)
GO("libSDL-1.1.so.0", sdl1)
GO("libSDL_mixer-1.2.so.0", sdl1mixer)
Expand Down Expand Up @@ -114,6 +116,7 @@ GO("libnm-util.so.2", libnm)
GO("libfontconfig.so.1", fontconfig)
GO("libbz2.so.1", bz2)
GO("libexpat.so.1", expat)
GO("libexpat.so", expat)
GO("libSM.so.6", libsm)
GO("libICE.so.6", libice)
GO("libusb-1.0.so.0", libusb1)
Expand Down
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ void LoadLogEnv()
p = getenv("BOX86_DYNAREC_DUMP");
if(p) {
if(strlen(p)==1) {
if(p[0]>='0' && p[0]<='1')
if(p[0]>='0' && p[0]<='2')
box86_dynarec_dump = p[0]-'0';
}
if (box86_dynarec_dump) printf_log(LOG_INFO, "Dynarec blocks are dumped%s\n", (box86_dynarec_dump>1)?" in color":"");
Expand Down
2 changes: 2 additions & 0 deletions src/tools/bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ bridge_t *NewBridge()
}
void FreeBridge(bridge_t** bridge)
{
if(!bridge || !*bridge)
return;
brick_t *b = (*bridge)->head;
while(b) {
brick_t *n = b->next;
Expand Down

0 comments on commit 0d42b42

Please sign in to comment.