-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macOS: Register file extensions for
openFile
(Drag ROM to App Icon)…
…, update `setupWorkingDirectory`, rename `SDLMain` to `SDLApplicationDelegate` to avoid confusion with the function `SDL_main()` (#1287) Register file extensions for openFile, and supports the following actions Drag ROM to Application icon to launch the app Drag ROM to the running app's dock icon Drag ROM to the running app's window (applicable to all SDL platform by SDL_DROPFILE) Update setupWorkingDirectory macOS default cwd is a nonsense "/" for non-terminal application Rename SDLMain to SDLApplicationDelegate to avoid confusion with the function SDL_main() some code cleanup
- Loading branch information
1 parent
9a7bf75
commit b92277a
Showing
5 changed files
with
39 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters