b078ca802f
Expose SRAM pointers for frontends that manage save data their own way ( #1643 )
...
* Add a clarifying comment
- In case it saves some poor bastard hours of fruitless work
* Expose GBA and NDS save memory
- Add GetSaveMemory and GetSaveMemoryLength functions
- Where unsupported, they return null and zero
2023-03-27 22:36:26 +02:00
79dfb8dc8f
Introduce Platform::Log
( #1640 )
...
* Add Platform::Log and Platform::LogLevel
* Replace most printf calls with Platform::Log calls
* Move a brace down
* Move some log entries to one Log call
- Some implementations of Log may assume a full line
* Log the MAC address as LogLevel::Info
2023-03-23 18:04:38 +01:00
35cc79787d
update copyright headers
2022-01-09 02:15:50 +01:00
436b3c4c1d
update copyright year and add missing GPL headers
2021-03-12 20:07:40 +01:00
0d845c9e69
Random minor fixes ( #757 )
...
* Fix incorrect/questionable assert() usage
Originally reported by https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2159000700 ,
but also includes a bunch of other fixes.
* Fix some `printf` warnings
Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2160310550
* Remove useless check
It is never passed thanks to `if (num_in < 1) {...; return}` before
Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2154840804
* Add missing header guard, rename other to avoid conflicts
Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2163210746
* Make DSi_SDDevice destructor virtual
Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2158670642
* Use thread-safe localtime_r, assign `time` result directly
Rule https://lgtm.com/projects/g/Arisotura/melonDS/?mode=tree&ruleFocus=2154840805
* Fix MinGW build
It needs _POSIX_THREAD_SAFE_FUNCTIONS to export `localtime_r`
2020-10-01 13:44:09 +02:00
3fde8411a7
fix ass-stupid RTC bug
2020-06-15 13:40:54 +02:00
fc5eedc716
* take nwifi forward some
...
* shut up CP15 printf's for Fx0
* fix bugs
2020-06-15 13:39:33 +02:00
83f8e11bc1
update copyright years
2020-02-14 20:18:08 +01:00
b0efde8bf7
also, update copyright name
2019-01-22 15:58:29 +01:00
3a54b9178b
RTC done. misc shito.
2018-10-18 03:04:39 +02:00
fea7955675
fixor copyright years.
2018-09-15 02:32:13 +02:00
28cddadfbc
* bump version number
...
* feed system time into RTC
* start laying base for sound
2017-04-04 15:32:50 +02:00
8a4ed8f41c
reorganize repo, move shit around
2017-03-16 23:01:22 +01:00