Commit graph

142 commits

Author SHA1 Message Date
Giovanni Bajo 87ed667c38 Show Windows console when isviewer is present. 2021-09-06 23:35:40 +02:00
Christopher Bonhage 95f8dd1f02 Fix heading of os/common/local_time.c 2021-09-04 22:02:29 +02:00
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
peterlemon 6278d46fb7 fix implicit decleration of keyboard functions on windows 2018-09-10 22:39:26 +01:00
Pavel I. Kryukov b47f078895 Enable implicit-function-declaration as a error 2018-09-09 00:10:25 +03:00
Thomas Lercher f27a35aa32 Remove windows support for setthread_name alltogether 2018-05-06 22:45:58 +02: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
Tyler J. Stachecki ac8f2283af Use a different version of cpuid functions. 2017-02-15 19:04:53 -05:00
Mike Ryan abca698a75 core: add cpuid fetching code from 4996031 2017-02-14 16:44:18 -08:00
Tyler J. Stachecki 322ac0c934 Another fix for MSVC builds. 2016-06-26 17:20:20 -04:00
Simon Eriksson 135a6cab5e Change default window size and aspect to 640*474.
Fixes vertical stretching issues when the N64 framebuffer
has 240 or 480 lines.
2016-03-06 13:56:13 -05: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
Tyler J. Stachecki 54230639ce Fix typo in WinAPI cen64_cv_wait(...).
This fixes -multithread on Windows.
2016-01-27 00:26:34 -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 1c5360b97a Implement open_gb_save for WinAPI's save_file. 2016-01-24 23:12:04 -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 Stachecki 335c8c88a7 Fix a bug in the X11 window code.
Thanks go out to izy for this commit.
2015-06-11 08:54:35 -04:00
Tyler Stachecki dc336ecfd1 Fix a WinAPI VirtualFree bug.
Thanks go out to izy for this commit.
2015-06-11 08:19:24 -04:00
Tyler J. Stachecki 9bb044ce5b Workaround an X11 keypress issue? 2015-05-16 17:40:11 -04:00
Tyler J. Stachecki 391b967725 Work on cleaning up the build system somewhat. 2015-05-16 17:15:19 -04:00
Tyler J. Stachecki db673be5c2 Mutexes seem to result in better performance? 2015-05-16 15:51:35 -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 1619e0fd98 More cleanup/streamlining of UI pullup. 2015-05-16 15:51:21 -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 b4b6a1d9a2 Refactor windowing component of VI. 2015-05-16 15:51:01 -04:00
Tyler J. Stachecki 7f203b7175 Start working in the new interfaces.
Seriously broken WinAPI stuff, no input, no multi-
threading a bunch of other terrible stuff (yet).
2015-05-16 15:50:54 -04:00
Tyler J. Stachecki b5fbc3d939 Add low-level memory allocation interfaces. 2015-05-16 15:50:46 -04:00
Tyler J. Stachecki 926f02a84c Migrate keycodes into new directories. 2015-05-16 15:50:31 -04:00
Tyler J. Stachecki 6d4d8a442a Commit a WinAPI implementation of cen64_gl_*. 2015-05-16 15:50:27 -04:00
Tyler J. Stachecki 6eccdf4901 Commit an X11 implementation of cen64_gl_*.
This cen64_gl_* common API will eventually replace the OS-
dependent windowing setup disaster that occurs when we currently
bringup CEN64.
2015-05-16 15:50:16 -04:00
Tyler Stachecki 2cd7582acb unix/x11: Use synchronous I/O multiplexing for the UI. 2015-01-27 17:01:55 -05:00
Tyler Stachecki 9e6fe74b82 Eliminate laggy input on Linux/OS X when VI/s is low. 2015-01-25 12:35:30 -05:00
Tyler Stachecki fd85f01b10 Start ramming in the network API. 2015-01-17 21:07:15 -05:00
Tyler Stachecki dd99de66f1 os/windows: Add a fix for Windows. 2015-01-17 14:09:26 -05:00
Augustin Cavalier 4d206cb0cd *_window: include gl_window.h 2015-01-13 14:10:44 -05:00
Augustin Cavalier 80a30663a5 os: move MAX_FRAME_DATA_SIZE to gl_window.h 2015-01-13 13:41:02 -05:00
Augustin Cavalier bd04fc24fc keycodes: remove duplicate definition of CEN64_KEY_PERIOD. 2015-01-13 12:22:41 -05:00
Augustin Cavalier 022e628fc5 OS: move glx_window & keycodes to an "x11" subdir.
UNIX does not imply X11.
2015-01-13 11:35:56 -05:00