Commit graph

130 commits

Author SHA1 Message Date
Tyler J. Stachecki
2bc82052c3 Change default visibility to hidden, expose entrypoint.
If we restrict the number of entrypoints to limit the scope
of what can be called from outside the .so, the compiler can
generate more optimized code.
2016-09-04 09:21:36 -04:00
Tyler J. Stachecki
1e8c169d4f Build a .so version of CEN64. 2016-09-04 09:16:05 -04: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
Tyler Stachecki
75a90282c5 Fix OS X builds, courtesy of dtm. 2015-01-12 21:40:18 -05:00
Tyler Stachecki
5ec667b3d6 Fix a bug in Windows builds in the last commit. 2015-01-08 14:37:54 -05:00
Tyler Stachecki
67fca6c47f Add -ddrom to the command line. 2015-01-08 12:17:17 -05:00
Tyler Stachecki
10fc81d7a3 Start filling in lots of 64DD implementation.
Also, fix a few bugs in the past two commits.
2015-01-06 22:21:00 -05:00
Tyler Stachecki
ec3748f0c2 Trim off a few hundred bytes of code. 2015-01-05 22:59:52 -05:00
Tyler Stachecki
1c1124bfd3 Temporarily patch the "render half frame" bug.
Not sure why copy_size should = 4 for a 16-bit frame, so
look into that. But for now, it won't cause any buffer
overruns, so enable it with a warning.
2015-01-04 12:18:10 -05:00
Tyler Stachecki
fca1cbe022 Add support for building on OS X. 2015-01-01 21:13:35 -05:00
Tyler Stachecki
0524573137 os/windows: Only show the console when asked. 2015-01-01 15:01:27 -05:00
Tyler Stachecki
5bf50af698 Clean up some rough edges in the last commit. 2015-01-01 15:01:22 -05:00
Tyler Stachecki
267d56491e Get the Windows build in running condition.
Conflicts:
	rdp/n64video.c
2015-01-01 15:00:53 -05:00
Tyler Stachecki
64b9ce8f5f os/unix: Shuffle things around to align with WINAPI. 2015-01-01 11:33:55 -05:00
Tyler Stachecki
d9d4ebcb8b os/unix: Don't race during window initialization. 2015-01-01 10:47:00 -05:00