This project is mirrored from https://github.com/libretro/libretro-lutro.git.
Pull mirroring updated .
- 02 Oct, 2022 3 commits
-
-
Jean-Andre Santoni authored
-
Jean-Andre Santoni authored
-
Jean-Andre Santoni authored
-
- 24 Sep, 2022 2 commits
-
-
Jean-Andre Santoni authored
* Support .luac * Fix missing arg * Also allow luac in folders * Keep compatibility with both lua and luac * Fix indentation * Simplify code
-
Jean-Andre Santoni authored
* Bump luajit * Luajit on mac arm64 * Try this
-
- 04 Aug, 2022 1 commit
-
-
Default to current hardcoded value
-
- 02 Aug, 2022 1 commit
-
-
* font: avoid malloc when rendering small string * image: set a null pointer when fail to load an image Rather to keep a random pointer * font: add a reference counter to font_t object It would be better to design a generic solution of reference counter object that can be used everywhere Note: this commit isn't thread safe * don't draw when the bitmap doesn't contain any data For example if the asset failed to load * font: report an error when getFont is called before setFont * font: give atlas data ownership when loading font from bitmap * graphic: skip canvas allocation on new game but keep the lua reference
-
- 01 Aug, 2022 1 commit
-
-
The code relies on utf8_conv_utf32 from libretro-common On linux LUA string are UTF8, others OSes weren't tested If the string isn't utf8, utf8_conv_utf32 call must be replaced Extra: if the glyph isn't found on the atlas, the glyph rendering is now skipped (rather than random behavior/crash) I didn't update the 256 glyph limits, I believe it would be better to have proper malloc/free here
-
- 29 Jul, 2022 3 commits
-
-
Jean-Andre Santoni authored
* Fix the number of buttons * Clean
-
* unref stopped sound when doing deinit Fix the memory leak on exit * add C allocation wrapper You can trace the allocation with the help of TRACE_ALLOCATION define. It also replaces STB allocation to trace malloc from stb and free on lutro * use new C memory allocator wrapper * fix filesystem memory leak * move canvas free method in the garbage collector of the object First it makes more sense Then it will free all canvas rather than only 1 Finally it will free both the framebuffer object and the data buffer * free image data when the object is garbage collected * fix font atlas memory leak + add various comments Note code is very tricky, I added some comments but maybe code need to be revisited A pattern like * Allocate buffer in LUA * Populate LUA buffer with info Rather than * Allocate buffer in C * Populate C buffer with info * Allocate buffer in LUA * Copy C-data into LUA-buffer * Free C buffer Would save 1 calloc + 1 copy + 1 free * lutro: print a count of allocation and improve logging message * Makefile part Co-authored-by:
Jean-André Santoni <jean.andre.santoni@gmail.com>
-
add some error checking on joystick_isDown to avoid a crash v2: check invalid negative value
-
- 06 Jul, 2022 1 commit
-
-
Jean-Andre Santoni authored
* Fix indentation * Implement getAxis
-
- 05 Jul, 2022 1 commit
-
-
Jean-Andre Santoni authored
-
- 25 May, 2022 1 commit
-
-
RobLoach authored
Fix miyoo name
-
- 22 May, 2022 1 commit
-
-
phcoder authored
-
- 13 May, 2022 1 commit
-
-
Gregory Hainaut authored
-
- 05 May, 2022 1 commit
-
-
RobLoach authored
Add OpenDingux compilation
-
- 27 Apr, 2022 1 commit
-
-
phcoder authored
Tested on RS90
-
- 06 Mar, 2022 1 commit
-
-
- 13 Feb, 2022 1 commit
-
-
Jean-Andre Santoni authored
* Fix memleakOnRealloc * Use lutro_assert
-
- 02 Jan, 2022 2 commits
- 31 Dec, 2021 1 commit
-
-
RobLoach authored
-
- 20 Nov, 2021 1 commit
-
-
RobLoach authored
-
- 04 Sep, 2021 1 commit
-
-
Jean-Andre Santoni authored
-
- 02 Sep, 2021 1 commit
-
-
Jean-Andre Santoni authored
-
- 22 Jul, 2021 2 commits
-
-
Libretro-Admin authored
Fix PS2 compilation and add ABGR color support
-
fjtrujy authored
-
- 21 Jul, 2021 3 commits
-
-
Jean-Andre Santoni authored
-
Gregory Hainaut authored
in case of wrong number of push/pop, a message is printed. And the stack is restored properly
-
Jean-Andre Santoni authored
-
- 20 Jul, 2021 2 commits
-
-
Jean-Andre Santoni authored
* Fix ogg seek. Fixes #218 * Typo
-
Jean-Andre Santoni authored
-
- 06 Jul, 2021 1 commit
-
-
Jean-Andre Santoni authored
-
- 25 Jun, 2021 1 commit
-
-
Jean-Andre Santoni authored
-
- 23 Jun, 2021 1 commit
-
-
Jean-Andre Santoni authored
-
- 18 Jun, 2021 1 commit
-
-
Jean-Andre Santoni authored
-
- 05 May, 2021 3 commits
-
-
Jean-Andre Santoni authored
-
Jake Stine authored
-
Jake Stine authored
The backtraces are looking... not so great in some of my tests. Lua has a bad habit sometimes of obscuring function names. There's sometimes some ways to improve that but I'll have to dig more later and figure out exactly what's going on.
-