Skip to content

Commit

Permalink
This is FreeJ2ME-Plus, change core and interface refs accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
AShiningRay committed Sep 21, 2024
1 parent 42250ee commit 4dcabf1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/libretro/freej2me_libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ void retro_init(void)

log_fn(RETRO_LOG_INFO, "Passing params: %s | %s | %s | %s | %s | %s | %s | %s | %s\n", *(params+3),
*(params+4), *(params+5), *(params+6), *(params+7), *(params+8), *(params+9), *(params+10), *(params+11));
log_fn(RETRO_LOG_INFO, "Preparing to open FreeJ2ME's Java app (make sure freej2me-lr.jar is inside system/).\n");
log_fn(RETRO_LOG_INFO, "Preparing to open FreeJ2ME-Plus' Java app (make sure freej2me-lr.jar is inside system/).\n");

#ifdef __linux__
javaProcess = javaOpen(params[0], params);
Expand Down Expand Up @@ -955,8 +955,8 @@ unsigned retro_get_region(void)
void retro_get_system_info(struct retro_system_info *info)
{
memset(info, 0, sizeof(*info));
info->library_name = "FreeJ2ME";
info->library_version = "1.2";
info->library_name = "FreeJ2ME-Plus";
info->library_version = "1.3";
info->valid_extensions = "jar";
info->need_fullpath = true;
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/recompile/freej2me/FreeJ2ME.java
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static void main(String args[])

public FreeJ2ME(String args[])
{
main = new Frame("FreeJ2ME");
main = new Frame("FreeJ2ME-Plus");
main.setSize(350,450);
/* Set a minimum allowed width and height so the menu bar is visible at all times */
main.setMinimumSize(new Dimension(240, 240));
Expand Down
2 changes: 1 addition & 1 deletion src/sdl2/anbu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ void init(Uint8 r = 0, Uint8 g = 0, Uint8 b = 0)
if(angle == 270) { SDL_CreateWindowAndRenderer(sourceHeight*windowScale, sourceWidth*windowScale, SDL_WINDOW_SHOWN, &mWindow, &mRenderer); }
else { SDL_CreateWindowAndRenderer(sourceWidth*windowScale, sourceHeight*windowScale, SDL_WINDOW_SHOWN, &mWindow, &mRenderer); }
if(isFullscreen) { toggleFullscreen(); }
SDL_SetWindowTitle(mWindow, "FreeJ2ME - SDL");
SDL_SetWindowTitle(mWindow, "FreeJ2ME-Plus - SDL");
SDL_SetRenderDrawColor(mRenderer, r, g, b, 255);
SDL_RenderClear(mRenderer);
SDL_RenderPresent(mRenderer);
Expand Down

0 comments on commit 4dcabf1

Please sign in to comment.