Commit graph

23 commits

Author SHA1 Message Date
Christopher Bonhage
8f64dcd8b3 Implement RTC write support
* Set local time offset when writing to Joybus or 64DD RTC.
* Refactor get_local_time to use ISO C Time APIs.

Special thanks to @jago85 and @LuigiBlood for their research!
2021-09-04 22:02:29 +02:00
Jason Benaim
607dc12ecf PROT_EXEC doesn't make sense in mmap flags. Fixes #128. 2019-07-28 19:03:49 -07:00
Pavel I. Kryukov
b47f078895 Enable implicit-function-declaration as a error 2018-09-09 00:10:25 +03:00
Thomas Lercher
87e4c99e35 Fix windows build which APIs which don't feature 'SetThreadName' 2018-05-06 22:32:50 +02:00
Thomas Lercher
8dfae37edb Fix thread_setname handling for macOS and older Windows APIs 2018-05-05 23:01:35 +02:00
Thomas Lercher
c16a317b3d Add thread names 2018-05-05 17:43:36 +02:00
queueRAM
93e956fba6 Verify calloc return value for RAM saves files 2018-02-24 18:29:09 -08:00
queueRAM
9c5c5bb1fb Verify save file options for entries in cart DB
If an entry in the cartridge database specifies use of a save type, then
verify that save type is present in the options. If not, warn and allocate
the save file in RAM.

Fixes #76
2018-02-20 05:55:20 +00:00
Mike Ryan
abca698a75 core: add cpuid fetching code from 4996031 2017-02-14 16:44:18 -08:00
Mike Ryan
cfd2336443 time: move get_local_time out to platform-specific dir
Patched DD code to make use of this code. Untested on Windows.
2016-02-05 21:44:42 -05:00
Tyler J. Stachecki
d753c37512 save_file patch from izy. 2016-01-30 14:52:25 -05:00
Mike Ryan
4360b6923b build on OS X 2016-01-26 17:51:42 -08:00
Tyler J. Stachecki
b0082df3ca Add experimental multithreading support. 2016-01-25 01:10:10 -05:00
Tyler J. Stachecki
76c633598a Implement save_file for WinAPI. 2016-01-24 21:58:15 -05:00
Mike Ryan
799b2af628 transfer pak: parse command line and load tpak ROM/saves 2016-01-24 17:46:44 -08:00
Mike Ryan
701388da13 save_file: return an int that indicates whether file was created 2016-01-24 12:28:48 -08:00
Mike Ryan
ec739c8c94 create a generic type for save files 2016-01-23 21:02:42 -08:00
Derek "Turtle" Roe
8b89df2fdc See long description
Replaced all references to simulation with emulation
Updated copyright year
Updated .gitignore to reduce chances of random files being uploaded to
the repo
Added .gitattributes to normalize all text files, and to ignore binary
files (which includes the logo and the NEC PDF)
2015-07-01 18:44:21 -05:00
Tyler J. Stachecki
391b967725 Work on cleaning up the build system somewhat. 2015-05-16 17:15:19 -04:00
Tyler J. Stachecki
9a9388400f Commit the new WinAPI user interface.
Streamline the Windows version of the source. There is
some breakage with regard to the console window and other
odds and ends.
2015-05-16 15:51:29 -04:00
Tyler J. Stachecki
d348c23e2f Commit the new X11 user interface.
Streamline the design/layout of the UI code. An excellent,
unexpected side-effect of this commit resulted in a significant
increase in performance...
2015-05-16 15:51:17 -04:00
Tyler J. Stachecki
bf38ee1879 Fix comment styles and such things. 2015-05-16 15:51:09 -04:00
Tyler J. Stachecki
b5fbc3d939 Add low-level memory allocation interfaces. 2015-05-16 15:50:46 -04:00