Commit df5a531
authored
C89 compliance, lowercase naming, iOS fix, and core option enhancements (#94)
* Add stb_image implementation file
This commit introduces the implementation of stb_image functions in a new source file, stb_image_impl.c. This file includes the necessary definitions to enable the functionality provided by the stb_image library. Only one C file should define STB_IMAGE_IMPLEMENTATION to avoid multiple definitions.
* Update binary libraries for various architectures
* feat: Implement in-game file browser for FreeIntv
- Added comprehensive technical overview and visual reference documentation for the file browser feature.
- Added support for various platforms, ensuring consistent behavior across Windows, Linux, macOS, Android, Switch, and Vita.
- Included error handling strategies and performance considerations for efficient operation.
- Updated build configurations to include new source files for different architectures (arm64-v8a, armeabi-v7a, riscv64, x86, x86_64).
* feat: Add initial libretro info file for FreeIntvTSOverlay
* Add object dependency files for FreeIntvTSOverlay source files
- Created dependency files for various source files including cart.c, controller.c, cp1610.c, and others.
- Updated dependencies for libretro-common components such as compat_posix_string.c, compat_snprintf.c, and file_path.c.
- Included necessary headers for each source file to ensure proper compilation.
- Enhanced project structure by organizing object files and their dependencies for better build management.
* feat: Update documentation and code for FreeIntvTSOverlay touchscreen support
* Enhance README with images and contributor details
Added images and updated contributors section in README.
* docs: Enhance README with details on touchscreen and mouse input for overlays
* Implement code changes to enhance functionality and improve performance
* Add Ko-fi username for funding
Added Ko-fi username for funding support.
* chore: Prepare for upcoming feature enhancements and optimizations
* chore: Update documentation for clarity and consistency
* Refactor code structure for improved readability and maintainability
* Checked compile on Android, Windows, and Linux
* Refactor code structure for improved readability and maintainability
* Implement feature X to enhance user experience and fix bug Y in module Z
* chore: Update README for clarity and consistency
* Fix: Revert valid_extensions from 'intv' to 'int' to restore ZIP file loading
* chore: Update .gitignore to exclude build artifacts and IDE files
* chore: Remove build artifacts tracked by git (now in .gitignore)
* refactor: Rename asset folder from FreeIntvTS_Overlays to freeIntv_image_assets
* Removed utility buttons and added logo banner, prepping for change to a 'core option'.
* Changed naming entries to FreeIntv without the TS Overlay to prepare for change to core option from separate core
* Incorporate PNG files into the code to alleviate need for external files
* corrected overlay loading code, and fixed keypad transparency
* updated documentation and screenshots
* Enhance user documentation with installation steps and dual-screen display instructions
* Update FreeIntv_libretro.info for improved clarity and accuracy in display name, supported extensions, and description
* Add dual-screen touchscreen and overlay support to FreeIntv core
- Implement side-by-side dual-screen rendering (1074×600 workspace)
- Add touchscreen hotspot input detection for 12 keypad buttons
- Support ROM-specific PNG overlays (370×600 pixels)
- Add cross-platform input handling (Android, Windows, Linux)
- Include screen swap functionality
- Update documentation with setup and usage instructions
- Update core metadata and info file
- Remove debug logging infrastructure
- Maintain full backward compatibility
* Update FreeIntv_libretro.info, README.md, and USER_GUIDE.md for enhanced onscreen interactive keypad overlays and improved versioning
* fix: Correct corename typo in FreeIntv_libretro.info
* Corrected multi-screen core option menu item. Fixed onscreen keypad in default single screen mode.
* Updated wording for the new core option to specify restart and touchscreen/mouse are required.
* Add step to mark repo as safe in workflow
* Updated readme and user guide
* modified code to comply with c89 coding model
* Removed printf and fflush commands leftover from debugging code
* Corrected case for core name. Added fix for iOS9 build. Fixed C89 correction remnants,
* Fix Android build: Revert LOCAL_MODULE to 'retro' for buildbot compatibility
Android.mk LOCAL_MODULE was changed to 'freeintv' but buildbot expects 'libretro.so'.
Reverting to 'retro' (last successful build at PR #89) to match buildbot expectations.
This produces libretro.so as expected by the build system.
* Fix iOS compatibility: Disable thread-local storage for armv7
* Fixed build conflicts with MSVC, iOS, and Android
* Add build-test.ps1 to .gitignore for local build and test script exclusion
* Fix PS2 build: Remove duplicate util_bg_color declaration
Removed duplicate 'unsigned int util_bg_color' declaration at line 378
which conflicted with 'unsigned int utility_bg_color' at line 401.
This was causing undeclared variable errors in PS2 builds.
* Fix PS2 build: Add all missing variable declarations
Added missing declarations in render_multi_screen():
- overlay_pixel_val, pixel, base_pixel
- inv_alpha, base_r/g/b, bg_r/g/b
- ctrl_base_x_offset, overlay_x_offset, ctrl_x
- r, g, b, existing_r/g/b
- offset, corner_cut, border_colors array
- util_border_x1/x2/y1/y2, hotspot_x_adjust, highlight_color
- Changed utility_bg_color from int to unsigned int
- Fixed util_bg_color references to use utility_bg_color
* Fix PS2 build: Remove redeclaration of hotspot_x_adjust
Changed 'int hotspot_x_adjust = ...' to 'hotspot_x_adjust = ...' at line 694
since the variable is already declared at the function start (line 406).
C89 does not allow redeclaration within the same scope.
---------
Co-authored-by: Jason Carr <[email protected]>1 parent d29846b commit df5a531
File tree
10 files changed
+215
-147
lines changed- jni
- src
10 files changed
+215
-147
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments