Andrew Tonner
bab9820231
slirp: more changes to prevent a crash in the soread without so_tcpcb case
2017-01-20 13:27:00 -08:00
Andrew Tonner
68353ca6b1
fix for null deref in slirp soread when the so doesn't have a tcpcb yet
2017-01-20 02:05:55 -08:00
Andrew Tonner
52a36f24bb
guard against the slirp queues null deref on dequeues I've seen in the debugger
2017-01-20 01:33:20 -08:00
Andrew Tonner
2f9bc272be
ws2 defines and missing prototypes for building withmingw32
2017-01-19 21:12:35 -08:00
Andrew Tonner
d3b56d8e32
Fix for intermittent cursor snapping: don't attempt to warp the cursor when it's not in the window
2017-01-19 05:14:20 -08:00
Andrew Tonner
83ea8b0779
Merge remote-tracking branch 'cebix/master' into windows_build_script_test_merge
2017-01-18 16:49:19 -08:00
Andrew Tonner
5c264434e7
disable obsolete cd driver warning
2017-01-18 15:57:36 -08:00
Andrew Tonner
dc54a5eceb
missed commits
2017-01-18 04:51:34 -08:00
Andrew Tonner
b74ae092c9
builds on mingw32 without jit, still untested
2017-01-18 04:41:40 -08:00
Alexei Svitkine
181634ab31
Fix more Xcode8 warnings and tweak project settings.
2016-12-17 23:31:03 -05:00
Alexei Svitkine
6bc3dd29a8
Fix off by one error in sscanf length arg.
2016-12-17 22:43:38 -05:00
Alexei Svitkine
d19e757e1c
Fix some more Xcode8 warnings & analyze warnings.
2016-12-17 22:24:00 -05:00
Alexei Svitkine
1f211fb37b
fix some warnings in Xcode8 build
2016-12-17 22:04:57 -05:00
Alexei Svitkine
5538376dc8
Add an Xcode 8 project for SheepShaver that builds an x86 32-bit
...
application (since 64-bit doesn't work with current OS X) and uses
pre-built (by GCC) compiler JIT source files.
2016-12-17 21:38:25 -05:00
asvitkine
84dfc1e98d
Merge pull request #87 from runn1ng/master
...
Making tunconfig working
2016-11-20 20:08:55 -05:00
Alexei Svitkine
268611ca75
Fix SLIRP networking on OS X (and maybe other platforms?).
...
The bug was introduced by 0daa18ab2a
,
which erroneously changed some signed types to unsigned types,
breaking logic involving negative numbers (e.g. when subtracting
sizes).
2016-11-02 02:08:51 -04:00
asvitkine
1bf6f4d640
Merge pull request #92 from rickyzhang82/customized-color-depth
...
Customized color depth in SDL
2016-08-19 06:18:02 -07:00
Ricky Zhang
042574382e
1. Added document for sheep_net module.
...
2. Fixed wrong use of ipip_hdr. It is for IP tunnel. This caused serious issues in IP packet filtering. Basically, it filtered out most packets sent from outsides. The correct way to get IP header destination IP address is ip_hdr.
3. Fixed ARP spoofing from guest OS to host OS. At anytime fake MAC address should be hided.
4. Changed module init and remove as non debug message.
Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
2016-08-18 14:00:09 -04:00
Ricky Zhang
10e4bba941
Add customized color depth in SDL. To change color depth, add bit of color depth as displaycolordepth prefs in .basilisk_ii_prefs.
2016-08-15 07:38:25 -04:00
Ricky Zhang
27cb1ef84a
Explictly pass SheepVars by af_packet_priv.
2016-08-13 07:33:35 -04:00
Ricky Zhang
212b8237b6
Fix sk_alloc function change since 4.2 Linux kernel.
2016-08-12 11:13:31 -04:00
Dmitry Brant
6ac8f16efb
Improve naming consistency.
2016-08-02 09:02:40 -04:00
Dmitry Brant
72ac1218f0
Correctly set last-modified time on exported files in Windows.
2016-07-30 14:16:34 -04:00
Dmitry Brant
e1693eb92b
Correctly set last-modified time on exported files.
2016-07-29 11:45:51 -04:00
Karel Bilek
c40e8516ce
Making tunconfig working
2016-05-28 02:20:35 +02:00
asvitkine
7de64a6fce
Merge pull request #81 from vasi/sdl-volume
...
Enable audio volume in SDL
2015-12-27 22:57:10 -05:00
Dave Vasilevsky
c2236350f4
Use constant for max volume
2015-12-27 22:42:37 -05:00
Dave Vasilevsky
4fa03d5fb1
Cleanups: Set to NULL after free, remove commented out code
2015-12-27 22:39:23 -05:00
Dave Vasilevsky
09a0525aac
Enable audio volume in SDL
...
This is useful for keeping the volume of SS/B2 separate from that of the host machine. For example, you can mute a game in SS, while still playing music on your host.
2015-12-27 22:13:00 -05:00
Dave Vasilevsky
4b5f3bd87b
Enable real addressing by disabling PIE
2015-12-27 21:15:26 -05:00
Alexei Svitkine
db375713bb
Fix CrossPlatform files for SheepShaver build and a warning.
2015-12-26 02:17:08 -05:00
Alexei Svitkine
11f7e3b1a1
Fix typo in an earlier commit.
2015-08-10 10:36:39 -04:00
Alexei Svitkine
a99d496fd4
Fix Xcode project following move of files and fix a warning.
2015-08-09 18:50:06 -04:00
Alexei Svitkine
ee25ed7142
Fix configure script following move of files to CrossPlatform.
2015-08-09 18:41:01 -04:00
Alexei Svitkine
a06cbd6784
Fix non-Windows build.
2015-08-09 18:31:30 -04:00
asvitkine
7e111f6fc5
Merge pull request #73 from Masaq-/macipx
...
Patch to make MacIPX work in SheepShaver
2015-08-09 18:14:18 -04:00
James Touton
0a9a4d0367
Changed mb type from int to bool.
2015-08-06 22:26:23 -07:00
James Touton
6cd37656b4
Added Visual Studio 2015 project files.
2015-08-06 02:37:05 -07:00
James Touton
1c9b9ba7a8
Added MSVC-friendly config.h.
2015-08-06 02:35:51 -07:00
James Touton
a6a46a2697
Unicode friendly!
2015-08-06 02:34:24 -07:00
James Touton
47e95ba2e6
Removed more spurious Windows.h #includes.
...
MSVC-compatible use of #pragma pack.
Fixed potential crash in Sys_open.
Use MSVC intrinsics for byte swapping.
Ensure use of winsock2 (instead of winsock).
Set appropriate architecture #defines.
Fixed various other compile warnings/errors.
2015-08-06 02:31:42 -07:00
James Touton
9b8238ee3e
Removed spurious #includes of Windows.h.
...
Fixed some more calling convention annotations.
Don't mutate the prefs string in init_tcp_listen_ports.
2015-08-06 02:18:21 -07:00
James Touton
4499902ac5
Removed kernel_windows. Assume a Windows NT-derived operating system.
...
Fixed some calling convention annotations.
Fixed some MSVC warnings.
2015-08-06 02:09:10 -07:00
James Touton
49f33770ac
Resolved numerous MSVC warnings.
2015-08-06 01:57:13 -07:00
James Touton
284900f905
Moved cross-platform sources into their own directory so that Windows builds don't need to add Unix to the include directory list.
2015-08-06 01:53:29 -07:00
James Touton
c92feaf767
Fixed a bunch of warnings in MSVC.
2015-08-06 01:37:58 -07:00
James Touton
f35cb736c7
Changed type of audio_channel_counts; fixes type conversion warnings on MSVC.
2015-08-06 01:34:55 -07:00
James Touton
1d875960db
Propagate error information from set_gamma_table.
2015-08-06 01:31:26 -07:00
James Touton
73f3af6c3b
gencomp builds cleanly (and produces clean-building code) on MSVC.
2015-08-06 01:28:01 -07:00
James Touton
8b4dc6ea81
gencpu builds cleanly on MSVC.
...
Fixed nasty bitfield issue where MSVC enums are signed, so a two-bit bitfield set to 2 is later read as -2.
2015-08-06 01:25:15 -07:00