Skip to content

Commit

Permalink
Merge pull request #190 from raidenii/master
Browse files Browse the repository at this point in the history
libretro Windows core minor fix
  • Loading branch information
recompileorg authored Jun 4, 2023
2 parents e974424 + 99a4b2a commit 2b745e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/libretro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ else ifeq ($(platform), vita)
CXXFLAGS += -Wl,-q -Wall -O3
STATIC_LINKING = 1
else
CC = gcc
TARGET := $(TARGET_NAME)_libretro.dll
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=$(CORE_DIR)/link.T -Wl,--no-undefined
endif
Expand Down
2 changes: 1 addition & 1 deletion src/libretro/freej2me_libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ void javaOpen(char *cmd, char **params)
/* Try starting the child process. */
char cmdWin[PATH_MAX_LENGTH];
/* resArg[0], resArg[1], rotateArg, phoneArg, fpsArg, soundArg */
sprintf(cmdWin, "java -jar %s", cmd);
sprintf(cmdWin, "javaw -jar %s", cmd);

log_fn(RETRO_LOG_INFO, "Opening: %s \n", cmd);
for (int i = 3; i <= 8; i++) /* There are 8 cmd arguments for now */
Expand Down

0 comments on commit 2b745e2

Please sign in to comment.