summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/netdev/pcap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* netdev/pcap.cpp: Removed unused member variables. Vas Crabb2026-04-041-3/+1
|
* Fixed up some stuff: Vas Crabb2025-04-251-28/+25
| | | | | | | | | * apple/mac128.cpp, apple/macii.cpp: Added CPU family filters to floppy and hard disk lists. * apple/mac128.cpp: Added fine-grained model filters to software lists because of badly behaved booters. * mac_flop_orig.xml: Fixed compatibility filters for '000 booters (ignoring the Portable/PB100 for now). * netdev/pcap.cpp: Don't return a pointer to a buffer on the stack that's about to be unwound. * seta/ssv.cpp: Fixed width of DSP RAM acccess handlers.
* netdev/pcap.cpp: Fix build errors. Vas Crabb2025-04-231-39/+40
|
* osd: Got rid of the gross globals and functions for manipulating them in the ↵ Vas Crabb2025-04-231-41/+64
| | | | network modules.
* osd: remove mac address filter from osd (fixes #13586) (#13614) Patrick Mackinlay2025-04-221-19/+0
| | | | | * dp8390: improve address filtering * osd: remove mac address filter from osd (fixes #13586)
* osd: Cleaned up MIDI and network interfaces a little more. Vas Crabb2024-03-011-2/+2
|
* osd/osdnet.cpp: Removed dependency from OSD network device to libemu. (#12058) Vas Crabb2024-02-251-14/+19
| | | | * This allows save states to be created and loaded when network interfaces are present. * device_network_interface may need some more attention to get save states taken while receiving a packet to work properly.
* Reduced usage of sprintf. (#10892) Erik2023-02-201-4/+3
|
* Various input and OSD refactoring: Vas Crabb2023-01-291-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | osd: Supply OSD object to modules on initialisation. Encapsulated some event handling in the OSD objects rather than leaving it in free functions. Put various stuff in namespaces. osd/modules/input: Enabled dinput, xinput and winhybrid modules for Windows SDL builds, and enabled background input for dinput and xinput (and by extension winhybrid) modules. Also fixed some COM and X11 resource leaks. osd/modules/input/input_sdl.cpp: Flipped SDL mouse button order to match Windows, and exposed vertical and horizontal scroll as Z and rZ axes. Moved SDL UI event handling out of input devices into OSD object. osd/modules/input_rawinput.cpp: Changed lightgun Z axis token so it's correctly identified as a relative axis (it maps to the scroll wheel equivalent). osd: Added an option to choose the network provider module. Mostly useful if you build with both TUN/TAP and pcap support included, or if you want to disable emulated networking completely. emu/input.cpp: Use a better strategy for assembling input code names that uses fewer temporary strings and doesn't require use of the non-Unicode-aware space trimming function (fixes MT08552). osd/modules/input_dinput.cpp: Improved polling logic. osd: Made various parts of the input code less dependent on concrete emu objects, and reduced inappropriately passing around the machine object. Made input modules less dependent on OSD implementation. Encapsulated some stuff and got rid of some vestigial newui and SDL1 support code. Cleaned up some interfaces. Moved OSD options classes to their own files. Prepare to remove main.h from emu.h - it's mostly used to get the application name, which the vast majority of emulated devices don't need to do.
* OSD/network interface cleanup AJR2022-08-281-0/+1
| | | | | | | - Move osd_midi_device from osdcore.h to osdepend.h - Move osd_list_network_adapters from osdcore.h to osdnet.h (was already defineduniquely in osdnet.cpp) - Move #include <cstdarg> from osdcore.h to emu.h - Remove dinetwork.h from emu.h
* Got rid of global_alloc/global_free. Vas Crabb2020-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The global_alloc/global_free functions have outlived their usefulness. They don't allow consistently overriding the default memory allocation behaviour because they aren't used consistently, and we don't have standard library allocator wrappers for them that we'd need to use them consistently with all the standard library containers we're using. If you need to change the default allocator behaviour, you can override the new/delete operators, and there are ways to get more fine-grained control that way. We're already doing that to pre-fill memory in debug builds. Code was already starting to depend on global_alloc/global_free wrapping new/delete. For example some parts of the code (including the UI and Windows debugger) was putting the result of global_alloc in a std::unique_ptr wrappers without custom deleters, and the SPU sound device was assuming it could use global_free to release memory allocated with operator new. There was also code misunderstanding the behaviour of global_alloc, for example the GROM port cartridge code was checking for nullptr when a failure will actually throw std::bad_alloc. As well as substituting new/delete, I've made several things use smart pointers to reduce the chance of leaks, and fixed a couple of leaks, too.
* Revert "fixed some modernize-use-equals-default clang-tidy warnings (… (#6360) Oliver Stöneberg2020-04-081-1/+1
| | | | | | | * Revert "fixed some modernize-use-equals-default clang-tidy warnings (nw)" This reverts commit 54486ab9 * fixed merge error
* fixed some modernize-use-auto clang-tidy warnings (nw) (#6238) Oliver Stöneberg2020-01-301-1/+1
|
* fixed some modernize-use-equals-default clang-tidy warnings (nw) (#6237) Oliver Stöneberg2020-01-301-1/+1
|
* Fix crashiness on OS X when the network device couldn't be opened (nw) arbee2018-11-221-0/+3
|
* Move special windows.h include directives to build defines (nw) Brad Hughes2016-12-281-1/+0
|
* Small cleanup (nw) Miodrag Milanovic2016-11-111-1/+4
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-7/+7
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* Cleanup and version bumpmame0175 Miodrag Milanovic2016-06-291-1/+1
|
* Change two dynamic bind messages to verbose. Brad Hughes2016-06-171-1/+1
|
* Introduce dynamic_module Giuseppe Gorgoglione2016-06-111-109/+72
| | | | | This is a central cross-platform facility to dynamically bind functions from shared libraries. Updated all OSD modules to use it.
* Various cleanups suggested by static analyzer (nw) Miodrag Milanovic2016-04-241-18/+18
|
* pcap: fix error and crash (nw) cracyc2016-02-241-2/+2
|
* fixing some more override (nw) Miodrag Milanovic2015-12-061-6/+6
|
* more cleanups and fix (nw) Miodrag Milanovic2015-11-111-2/+2
|
* Rename *.c -> *.cpp in our source (nw) Miodrag Milanovic2015-11-081-0/+328