diff --git a/pcsx2/USB/USB.cpp b/pcsx2/USB/USB.cpp
index f8a56a0eae..87ddd09585 100644
--- a/pcsx2/USB/USB.cpp
+++ b/pcsx2/USB/USB.cpp
@@ -1,19 +1,16 @@
-/* USBlinuz
- * Copyright (C) 2002-2004 USBlinuz Team
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
*/
#include
diff --git a/pcsx2/USB/USB.h b/pcsx2/USB/USB.h
index e47cbb631a..b71acf8fef 100644
--- a/pcsx2/USB/USB.h
+++ b/pcsx2/USB/USB.h
@@ -1,19 +1,16 @@
-/* USBlinuz
- * Copyright (C) 2002-2004 USBlinuz Team
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
*/
#pragma once
diff --git a/pcsx2/USB/Win32/Config.cpp b/pcsx2/USB/Win32/Config.cpp
index e7ff1a9370..66cbfc77e2 100644
--- a/pcsx2/USB/Win32/Config.cpp
+++ b/pcsx2/USB/Win32/Config.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "AppCoreThread.h"
#include "../USB.h"
#include "resource.h"
diff --git a/pcsx2/USB/Win32/Config.h b/pcsx2/USB/Win32/Config.h
index 8f2dad5caf..7dc54be656 100644
--- a/pcsx2/USB/Win32/Config.h
+++ b/pcsx2/USB/Win32/Config.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#ifndef WIN32_H
#define WIN32_H
#include
@@ -26,4 +41,4 @@ do {\
SendMessage(GetDlgItem(hDlg, nIDDlgItem), EM_SETSEL, -2, -2);\
}\
} while (0)
-#endif
\ No newline at end of file
+#endif
diff --git a/pcsx2/USB/Win32/guid.cpp b/pcsx2/USB/Win32/guid.cpp
index 5d61599a6f..927722327e 100644
--- a/pcsx2/USB/Win32/guid.cpp
+++ b/pcsx2/USB/Win32/guid.cpp
@@ -1,4 +1,19 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include
#include
#include
-#include
\ No newline at end of file
+#include
diff --git a/pcsx2/USB/configuration.cpp b/pcsx2/USB/configuration.cpp
index a5f706d36e..8d2a45bfb7 100644
--- a/pcsx2/USB/configuration.cpp
+++ b/pcsx2/USB/configuration.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "osdebugout.h"
#include "deviceproxy.h"
#include "configuration.h"
diff --git a/pcsx2/USB/configuration.h b/pcsx2/USB/configuration.h
index 9d02ba1856..7ec68c1348 100644
--- a/pcsx2/USB/configuration.h
+++ b/pcsx2/USB/configuration.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#pragma once
#include
diff --git a/pcsx2/USB/device_init.cpp b/pcsx2/USB/device_init.cpp
index b06c8c419d..3960e13c80 100644
--- a/pcsx2/USB/device_init.cpp
+++ b/pcsx2/USB/device_init.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "deviceproxy.h"
#include "usb-pad/usb-pad.h"
#include "usb-msd/usb-msd.h"
diff --git a/pcsx2/USB/deviceproxy.cpp b/pcsx2/USB/deviceproxy.cpp
index 06d898382e..91095938b8 100644
--- a/pcsx2/USB/deviceproxy.cpp
+++ b/pcsx2/USB/deviceproxy.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "deviceproxy.h"
#include "usb-pad/padproxy.h"
#include "usb-mic/audiodeviceproxy.h"
@@ -20,4 +35,4 @@ void UnregisterAPIs()
usb_mic::RegisterAudioDevice::instance().Clear();
usb_hid::RegisterUsbHID::instance().Clear();
usb_eyetoy::RegisterVideoDevice::instance().Clear();
-}
\ No newline at end of file
+}
diff --git a/pcsx2/USB/deviceproxy.h b/pcsx2/USB/deviceproxy.h
index b8cd33ee98..d4405aeb92 100644
--- a/pcsx2/USB/deviceproxy.h
+++ b/pcsx2/USB/deviceproxy.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#ifndef DEVICEPROXY_H
#define DEVICEPROXY_H
#include "configuration.h"
diff --git a/pcsx2/USB/dynlink/pulse.cpp b/pcsx2/USB/dynlink/pulse.cpp
deleted file mode 100644
index cae7a1120a..0000000000
--- a/pcsx2/USB/dynlink/pulse.cpp
+++ /dev/null
@@ -1,518 +0,0 @@
-#include "pulse.h"
-#include
-#include
-#include
-#include
-
-#if PA_CHECK_VERSION(12,99,1)
-#define CONST const
-#else
-#define CONST
-#endif
-
-#define FUNDEFDECL(x) static decltype(&x) pfn_##x = nullptr
-#define FUN_UNLOAD(fun) pfn_##fun = nullptr
-#define FUN_LOAD(h,fun) \
- pfn_##fun = (decltype(&fun))(dlsym(h, #fun)); \
- if((error = dlerror()) != NULL) { \
- std::cerr << error << std::endl; \
- DynUnloadPulse(); \
- return false; \
- }
-
-FUNDEFDECL(pa_usec_to_bytes);
-FUNDEFDECL(pa_bytes_per_second);
-FUNDEFDECL(pa_threaded_mainloop_start);
-FUNDEFDECL(pa_threaded_mainloop_free);
-FUNDEFDECL(pa_threaded_mainloop_stop);
-FUNDEFDECL(pa_stream_unref);
-FUNDEFDECL(pa_stream_disconnect);
-FUNDEFDECL(pa_threaded_mainloop_new);
-FUNDEFDECL(pa_threaded_mainloop_get_api);
-FUNDEFDECL(pa_stream_set_read_callback);
-FUNDEFDECL(pa_stream_connect_record);
-FUNDEFDECL(pa_stream_new);
-FUNDEFDECL(pa_stream_peek);
-FUNDEFDECL(pa_strerror);
-FUNDEFDECL(pa_stream_drop);
-FUNDEFDECL(pa_context_connect);
-FUNDEFDECL(pa_operation_unref);
-FUNDEFDECL(pa_context_set_state_callback);
-FUNDEFDECL(pa_context_get_state);
-FUNDEFDECL(pa_mainloop_get_api);
-FUNDEFDECL(pa_context_unref);
-FUNDEFDECL(pa_context_disconnect);
-FUNDEFDECL(pa_operation_get_state);
-FUNDEFDECL(pa_context_get_source_info_list);
-FUNDEFDECL(pa_mainloop_new);
-FUNDEFDECL(pa_context_new);
-FUNDEFDECL(pa_mainloop_iterate);
-FUNDEFDECL(pa_mainloop_free);
-FUNDEFDECL(pa_context_get_sink_info_list);
-FUNDEFDECL(pa_stream_connect_playback);
-FUNDEFDECL(pa_stream_set_write_callback);
-FUNDEFDECL(pa_stream_begin_write);
-FUNDEFDECL(pa_stream_cancel_write);
-FUNDEFDECL(pa_stream_write);
-FUNDEFDECL(pa_stream_get_state);
-FUNDEFDECL(pa_stream_cork);
-FUNDEFDECL(pa_stream_is_corked);
-FUNDEFDECL(pa_stream_is_suspended);
-FUNDEFDECL(pa_stream_set_state_callback);
-FUNDEFDECL(pa_threaded_mainloop_lock);
-FUNDEFDECL(pa_threaded_mainloop_unlock);
-FUNDEFDECL(pa_threaded_mainloop_signal);
-FUNDEFDECL(pa_threaded_mainloop_wait);
-FUNDEFDECL(pa_sample_size);
-FUNDEFDECL(pa_frame_size);
-FUNDEFDECL(pa_stream_get_latency);
-FUNDEFDECL(pa_stream_update_timing_info);
-
-static void* pulse_handle = nullptr;
-static std::atomic refCntPulse (0);
-
-//TODO Probably needs mutex somewhere, but PCSX2 usually inits pretty serially
-bool DynLoadPulse()
-{
- const char* error = nullptr;
-
- refCntPulse++;
- if (pulse_handle && pfn_pa_mainloop_free)
- return true;
-
- //dlopen itself is refcounted too
- pulse_handle = dlopen ("libpulse.so.0", RTLD_LAZY);
- if (!pulse_handle) {
- std::cerr << dlerror() << std::endl;
- return false;
- }
-
- FUN_LOAD(pulse_handle, pa_stream_update_timing_info);
- FUN_LOAD(pulse_handle, pa_stream_get_latency);
- FUN_LOAD(pulse_handle, pa_usec_to_bytes);
- FUN_LOAD(pulse_handle, pa_bytes_per_second);
- FUN_LOAD(pulse_handle, pa_threaded_mainloop_start);
- FUN_LOAD(pulse_handle, pa_threaded_mainloop_free);
- FUN_LOAD(pulse_handle, pa_threaded_mainloop_stop);
- FUN_LOAD(pulse_handle, pa_stream_unref);
- FUN_LOAD(pulse_handle, pa_stream_disconnect);
- FUN_LOAD(pulse_handle, pa_threaded_mainloop_new);
- FUN_LOAD(pulse_handle, pa_threaded_mainloop_get_api);
- FUN_LOAD(pulse_handle, pa_stream_set_read_callback);
- FUN_LOAD(pulse_handle, pa_stream_connect_record);
- FUN_LOAD(pulse_handle, pa_stream_new);
- FUN_LOAD(pulse_handle, pa_stream_peek);
- FUN_LOAD(pulse_handle, pa_strerror);
- FUN_LOAD(pulse_handle, pa_stream_drop);
- FUN_LOAD(pulse_handle, pa_context_connect);
- FUN_LOAD(pulse_handle, pa_operation_unref);
- FUN_LOAD(pulse_handle, pa_context_set_state_callback);
- FUN_LOAD(pulse_handle, pa_context_get_state);
- FUN_LOAD(pulse_handle, pa_mainloop_get_api);
- FUN_LOAD(pulse_handle, pa_context_unref);
- FUN_LOAD(pulse_handle, pa_context_disconnect);
- FUN_LOAD(pulse_handle, pa_operation_get_state);
- FUN_LOAD(pulse_handle, pa_context_get_source_info_list);
- FUN_LOAD(pulse_handle, pa_mainloop_new);
- FUN_LOAD(pulse_handle, pa_context_new);
- FUN_LOAD(pulse_handle, pa_mainloop_iterate);
- FUN_LOAD(pulse_handle, pa_context_get_sink_info_list);
- FUN_LOAD(pulse_handle, pa_stream_connect_playback);
- FUN_LOAD(pulse_handle, pa_stream_set_write_callback);
- FUN_LOAD(pulse_handle, pa_stream_begin_write);
- FUN_LOAD(pulse_handle, pa_stream_cancel_write);
- FUN_LOAD(pulse_handle, pa_stream_write);
- FUN_LOAD(pulse_handle, pa_stream_get_state);
- FUN_LOAD(pulse_handle, pa_stream_cork);
- FUN_LOAD(pulse_handle, pa_stream_is_corked);
- FUN_LOAD(pulse_handle, pa_stream_is_suspended);
- FUN_LOAD(pulse_handle, pa_stream_set_state_callback);
- FUN_LOAD(pulse_handle, pa_threaded_mainloop_lock);
- FUN_LOAD(pulse_handle, pa_threaded_mainloop_unlock);
- FUN_LOAD(pulse_handle, pa_threaded_mainloop_signal);
- FUN_LOAD(pulse_handle, pa_threaded_mainloop_wait);
- FUN_LOAD(pulse_handle, pa_sample_size);
- FUN_LOAD(pulse_handle, pa_frame_size);
- FUN_LOAD(pulse_handle, pa_mainloop_free);
- return true;
-}
-
-void DynUnloadPulse()
-{
- if (!pulse_handle && !pfn_pa_mainloop_free)
- return;
-
- if(!refCntPulse || --refCntPulse > 0)
- return;
-
- FUN_UNLOAD(pa_stream_update_timing_info);
- FUN_UNLOAD(pa_stream_get_latency);
- FUN_UNLOAD(pa_usec_to_bytes);
- FUN_UNLOAD(pa_bytes_per_second);
- FUN_UNLOAD(pa_threaded_mainloop_start);
- FUN_UNLOAD(pa_threaded_mainloop_free);
- FUN_UNLOAD(pa_threaded_mainloop_stop);
- FUN_UNLOAD(pa_stream_unref);
- FUN_UNLOAD(pa_stream_disconnect);
- FUN_UNLOAD(pa_threaded_mainloop_new);
- FUN_UNLOAD(pa_threaded_mainloop_get_api);
- FUN_UNLOAD(pa_stream_set_read_callback);
- FUN_UNLOAD(pa_stream_connect_record);
- FUN_UNLOAD(pa_stream_new);
- FUN_UNLOAD(pa_stream_peek);
- FUN_UNLOAD(pa_strerror);
- FUN_UNLOAD(pa_stream_drop);
- FUN_UNLOAD(pa_context_connect);
- FUN_UNLOAD(pa_operation_unref);
- FUN_UNLOAD(pa_context_set_state_callback);
- FUN_UNLOAD(pa_context_get_state);
- FUN_UNLOAD(pa_mainloop_get_api);
- FUN_UNLOAD(pa_context_unref);
- FUN_UNLOAD(pa_context_disconnect);
- FUN_UNLOAD(pa_operation_get_state);
- FUN_UNLOAD(pa_context_get_source_info_list);
- FUN_UNLOAD(pa_mainloop_new);
- FUN_UNLOAD(pa_context_new);
- FUN_UNLOAD(pa_mainloop_iterate);
- FUN_UNLOAD(pa_context_get_sink_info_list);
- FUN_UNLOAD(pa_stream_connect_playback);
- FUN_UNLOAD(pa_stream_set_write_callback);
- FUN_UNLOAD(pa_stream_begin_write);
- FUN_UNLOAD(pa_stream_cancel_write);
- FUN_UNLOAD(pa_stream_write);
- FUN_UNLOAD(pa_stream_get_state);
- FUN_UNLOAD(pa_stream_cork);
- FUN_UNLOAD(pa_stream_is_corked);
- FUN_UNLOAD(pa_stream_is_suspended);
- FUN_UNLOAD(pa_stream_set_state_callback);
- FUN_UNLOAD(pa_threaded_mainloop_lock);
- FUN_UNLOAD(pa_threaded_mainloop_unlock);
- FUN_UNLOAD(pa_threaded_mainloop_signal);
- FUN_UNLOAD(pa_threaded_mainloop_wait);
- FUN_UNLOAD(pa_sample_size);
- FUN_UNLOAD(pa_frame_size);
- FUN_UNLOAD(pa_mainloop_free);
-
- dlclose(pulse_handle);
- pulse_handle = nullptr;
-}
-#undef FUNDEFDECL
-#undef FUN_LOAD
-#undef FUN_UNLOAD
-
-const char* pa_strerror(int error)
-{
- if (pfn_pa_strerror)
- return pfn_pa_strerror(error);
- return NULL;
-}
-
-int pa_context_connect(pa_context *c, const char *server, pa_context_flags_t flags, const pa_spawn_api *api)
-{
- if (pfn_pa_context_connect)
- return pfn_pa_context_connect(c, server, flags, api);
- return PA_ERR_NOTIMPLEMENTED;
-}
-
-int pa_mainloop_iterate(pa_mainloop *m, int block, int *retval)
-{
- if (pfn_pa_mainloop_iterate)
- return pfn_pa_mainloop_iterate(m, block, retval);
- return PA_ERR_NOTIMPLEMENTED;
-}
-
-int pa_stream_disconnect(pa_stream *s)
-{
- if (pfn_pa_stream_disconnect)
- return pfn_pa_stream_disconnect(s);
- return PA_ERR_NOTIMPLEMENTED;
-}
-
-int pa_stream_drop(pa_stream *p)
-{
- if (pfn_pa_stream_drop)
- return pfn_pa_stream_drop(p);
- return PA_ERR_NOTIMPLEMENTED;
-}
-
-int pa_threaded_mainloop_start(pa_threaded_mainloop *m)
-{
- if (pfn_pa_threaded_mainloop_start)
- return pfn_pa_threaded_mainloop_start(m);
- return PA_ERR_NOTIMPLEMENTED;
-}
-
-pa_context *pa_context_new(pa_mainloop_api *mainloop, const char *name)
-{
- if (pfn_pa_context_new)
- return pfn_pa_context_new(mainloop, name);
- return NULL;
-}
-
-pa_context_state_t pa_context_get_state(CONST pa_context *c)
-{
- if (pfn_pa_context_get_state)
- return pfn_pa_context_get_state(c);
- return PA_CONTEXT_FAILED;
-}
-
-pa_mainloop_api* pa_mainloop_get_api(pa_mainloop *m)
-{
- if (pfn_pa_mainloop_get_api)
- return pfn_pa_mainloop_get_api(m);
- return NULL;
-}
-
-pa_mainloop_api* pa_threaded_mainloop_get_api(pa_threaded_mainloop *m)
-{
- if (pfn_pa_threaded_mainloop_get_api)
- return pfn_pa_threaded_mainloop_get_api(m);
- return NULL;
-}
-
-pa_mainloop *pa_mainloop_new(void)
-{
- if (pfn_pa_mainloop_new)
- return pfn_pa_mainloop_new();
- return NULL;
-}
-
-pa_operation* pa_context_get_source_info_list(pa_context *c, pa_source_info_cb_t cb, void *userdata)
-{
- if (pfn_pa_context_get_source_info_list)
- return pfn_pa_context_get_source_info_list(c, cb, userdata);
- return NULL;
-}
-
-pa_operation_state_t pa_operation_get_state(CONST pa_operation *o)
-{
- if (pfn_pa_operation_get_state)
- return pfn_pa_operation_get_state(o);
- return PA_OPERATION_CANCELLED;
-}
-
-pa_threaded_mainloop *pa_threaded_mainloop_new(void)
-{
- if (pfn_pa_threaded_mainloop_new)
- return pfn_pa_threaded_mainloop_new();
- return NULL;
-}
-
-size_t pa_bytes_per_second(const pa_sample_spec *spec)
-{
- if (pfn_pa_bytes_per_second)
- return pfn_pa_bytes_per_second(spec);
- return 0;
-}
-
-size_t pa_usec_to_bytes(pa_usec_t t, const pa_sample_spec *spec)
-{
- if (pfn_pa_usec_to_bytes)
- return pfn_pa_usec_to_bytes(t, spec);
- return 0;
-}
-
-void pa_context_disconnect(pa_context *c)
-{
- if (pfn_pa_context_disconnect)
- pfn_pa_context_disconnect(c);
-}
-
-void pa_context_set_state_callback(pa_context *c, pa_context_notify_cb_t cb, void *userdata)
-{
- if (pfn_pa_context_set_state_callback)
- pfn_pa_context_set_state_callback(c, cb, userdata);
-}
-
-void pa_context_unref(pa_context *c)
-{
- if (pfn_pa_context_unref)
- pfn_pa_context_unref(c);
-}
-
-void pa_mainloop_free(pa_mainloop *m)
-{
- if (pfn_pa_mainloop_free)
- pfn_pa_mainloop_free(m);
-}
-
-void pa_operation_unref(pa_operation *o)
-{
- if (pfn_pa_operation_unref)
- pfn_pa_operation_unref(o);
-}
-
-void pa_stream_set_read_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata)
-{
- if (pfn_pa_stream_set_read_callback)
- pfn_pa_stream_set_read_callback(p, cb, userdata);
-}
-
-void pa_stream_unref(pa_stream *s)
-{
- if (pfn_pa_stream_unref)
- pfn_pa_stream_unref(s);
-}
-
-void pa_threaded_mainloop_free(pa_threaded_mainloop *m)
-{
- if (pfn_pa_threaded_mainloop_free)
- pfn_pa_threaded_mainloop_free(m);
-}
-
-void pa_threaded_mainloop_stop(pa_threaded_mainloop *m)
-{
- if (pfn_pa_threaded_mainloop_stop)
- pfn_pa_threaded_mainloop_stop(m);
-}
-
-int pa_stream_peek(pa_stream *p, const void **data, size_t *nbytes)
-{
- if (pfn_pa_stream_peek)
- return pfn_pa_stream_peek(p, data, nbytes);
- return -PA_ERR_NOTIMPLEMENTED;
-}
-
-pa_stream* pa_stream_new(pa_context *c, const char *name, const pa_sample_spec *ss, const pa_channel_map *map)
-{
- if (pfn_pa_stream_new)
- return pfn_pa_stream_new(c, name, ss, map);
- return NULL;
-}
-
-int pa_stream_connect_record(pa_stream *s, const char *dev, const pa_buffer_attr *attr, pa_stream_flags_t flags)
-{
- if (pfn_pa_stream_connect_record)
- return pfn_pa_stream_connect_record(s, dev, attr, flags);
- return PA_ERR_NOTIMPLEMENTED;
-}
-
-pa_operation* pa_context_get_sink_info_list(pa_context * c, pa_sink_info_cb_t cb, void * userdata)
-{
- if (pfn_pa_context_get_sink_info_list)
- return pfn_pa_context_get_sink_info_list(c, cb, userdata);
- return NULL;
-}
-
-int pa_stream_connect_playback(pa_stream *s, const char *dev,
- const pa_buffer_attr *attr, pa_stream_flags_t flags,
- const pa_cvolume *volume,
- pa_stream *sync_stream)
-{
- if (pfn_pa_stream_connect_playback)
- return pfn_pa_stream_connect_playback(s, dev, attr, flags, volume, sync_stream);
- return PA_ERR_NOTIMPLEMENTED;
-}
-
-void pa_stream_set_write_callback(pa_stream *p, pa_stream_request_cb_t cb, void *userdata)
-{
- if (pfn_pa_stream_set_write_callback)
- pfn_pa_stream_set_write_callback(p, cb, userdata);
-}
-
-int pa_stream_begin_write(pa_stream *p, void **data, size_t *nbytes)
-{
- if (pfn_pa_stream_begin_write)
- return pfn_pa_stream_begin_write(p, data, nbytes);
- return PA_ERR_NOTIMPLEMENTED;
-}
-
-int pa_stream_cancel_write(pa_stream *p)
-{
- if (pfn_pa_stream_cancel_write)
- return pfn_pa_stream_cancel_write(p);
- return PA_ERR_NOTIMPLEMENTED;
-}
-
-int pa_stream_write(pa_stream *p, const void *data, size_t nbytes, pa_free_cb_t free_cb, int64_t offset, pa_seek_mode_t seek)
-{
- if (pfn_pa_stream_write)
- return pfn_pa_stream_write(p, data, nbytes, free_cb, offset, seek);
- return PA_ERR_NOTIMPLEMENTED;
-}
-
-pa_stream_state_t pa_stream_get_state(CONST pa_stream *p)
-{
- if (pfn_pa_stream_get_state)
- return pfn_pa_stream_get_state(p);
- return PA_STREAM_UNCONNECTED;
-}
-
-pa_operation* pa_stream_cork(pa_stream *s, int b, pa_stream_success_cb_t cb, void *userdata)
-{
- if (pfn_pa_stream_cork)
- return pfn_pa_stream_cork(s, b, cb, userdata);
- return NULL;
-}
-
-int pa_stream_is_corked(CONST pa_stream *s)
-{
- if (pfn_pa_stream_is_corked)
- return pfn_pa_stream_is_corked (s);
- return -PA_ERR_NOTIMPLEMENTED;
-}
-
-void pa_threaded_mainloop_lock(pa_threaded_mainloop *m)
-{
- if (pfn_pa_threaded_mainloop_lock)
- pfn_pa_threaded_mainloop_lock(m);
-}
-
-void pa_threaded_mainloop_unlock(pa_threaded_mainloop *m)
-{
- if (pfn_pa_threaded_mainloop_unlock)
- pfn_pa_threaded_mainloop_unlock(m);
-}
-
-void pa_threaded_mainloop_signal(pa_threaded_mainloop *m, int wait_for_accept)
-{
- if (pfn_pa_threaded_mainloop_signal)
- pfn_pa_threaded_mainloop_signal(m, wait_for_accept);
-}
-
-void pa_threaded_mainloop_wait(pa_threaded_mainloop *m)
-{
- if (pfn_pa_threaded_mainloop_wait)
- pfn_pa_threaded_mainloop_wait(m);
-}
-
-int pa_stream_is_suspended(CONST pa_stream *s)
-{
- if (pfn_pa_stream_is_suspended)
- return pfn_pa_stream_is_suspended(s);
- return -PA_ERR_NOTIMPLEMENTED;
-}
-
-void pa_stream_set_state_callback(pa_stream *s, pa_stream_notify_cb_t cb, void *userdata)
-{
- if (pfn_pa_stream_set_state_callback)
- pfn_pa_stream_set_state_callback(s, cb, userdata);
-}
-
-size_t pa_sample_size(const pa_sample_spec *spec)
-{
- if (pfn_pa_sample_size)
- return pfn_pa_sample_size(spec);
- return 0;
-}
-
-size_t pa_frame_size(const pa_sample_spec *spec)
-{
- if (pfn_pa_frame_size)
- return pfn_pa_frame_size(spec);
- return 0;
-}
-
-pa_operation* pa_stream_update_timing_info(pa_stream *p, pa_stream_success_cb_t cb, void *userdata)
-{
- if (pfn_pa_stream_update_timing_info)
- return pfn_pa_stream_update_timing_info(p, cb, userdata);
- return NULL;
-}
-
-int pa_stream_get_latency(pa_stream *s, pa_usec_t *r_usec, int *negative)
-{
- if (pfn_pa_stream_get_latency)
- return pfn_pa_stream_get_latency(s, r_usec, negative);
- return -PA_ERR_NOTIMPLEMENTED;
-}
\ No newline at end of file
diff --git a/pcsx2/USB/dynlink/pulse.h b/pcsx2/USB/dynlink/pulse.h
deleted file mode 100644
index 7e184f3753..0000000000
--- a/pcsx2/USB/dynlink/pulse.h
+++ /dev/null
@@ -1,4 +0,0 @@
-#pragma once
-
-bool DynLoadPulse();
-void DynUnloadPulse();
\ No newline at end of file
diff --git a/pcsx2/USB/gtk.h b/pcsx2/USB/gtk.h
index 3617be2cf7..a4396d1923 100644
--- a/pcsx2/USB/gtk.h
+++ b/pcsx2/USB/gtk.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#define GLIB_DISABLE_DEPRECATION_WARNINGS
#include
diff --git a/pcsx2/USB/helpers.h b/pcsx2/USB/helpers.h
index eeb1518fb8..4c72fa6969 100644
--- a/pcsx2/USB/helpers.h
+++ b/pcsx2/USB/helpers.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#ifndef HELPERS_H
#define HELPERS_H
diff --git a/pcsx2/USB/icon_buzz_24.cpp b/pcsx2/USB/icon_buzz_24.cpp
index 4785fac791..e3bae0761c 100644
--- a/pcsx2/USB/icon_buzz_24.cpp
+++ b/pcsx2/USB/icon_buzz_24.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "icon_buzz_24.h"
const unsigned char icon_buzz_24[] {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
diff --git a/pcsx2/USB/icon_buzz_24.h b/pcsx2/USB/icon_buzz_24.h
index c2d18b9580..12ba435f67 100644
--- a/pcsx2/USB/icon_buzz_24.h
+++ b/pcsx2/USB/icon_buzz_24.h
@@ -1,2 +1,17 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#pragma once
extern const unsigned char icon_buzz_24[];
diff --git a/pcsx2/USB/linux/actualfile.c b/pcsx2/USB/linux/actualfile.c
index 94e1f2998f..fbe2bd94c1 100644
--- a/pcsx2/USB/linux/actualfile.c
+++ b/pcsx2/USB/linux/actualfile.c
@@ -1,24 +1,18 @@
-/* actualfile.c
- * Copyright (C) 2002-2005 PCSX2 Team
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
- *
- * PCSX2 members can be contacted through their website at www.pcsx2.net.
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
*/
-
#include // errno
#include // open()
#include // rename()
diff --git a/pcsx2/USB/linux/actualfile.h b/pcsx2/USB/linux/actualfile.h
index a342720e38..9f5b913089 100644
--- a/pcsx2/USB/linux/actualfile.h
+++ b/pcsx2/USB/linux/actualfile.h
@@ -1,24 +1,18 @@
-/* actualfile.h
- * Copyright (C) 2002-2005 PCSX2 Team
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
- *
- * PCSX2 members can be contacted through their website at www.pcsx2.net.
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
*/
-
#ifndef ACTUALFILE_H
#define ACTUALFILE_H
diff --git a/pcsx2/USB/linux/config-gtk.cpp b/pcsx2/USB/linux/config-gtk.cpp
index 1ef71fdee7..fe1ee3a379 100644
--- a/pcsx2/USB/linux/config-gtk.cpp
+++ b/pcsx2/USB/linux/config-gtk.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include
#include
#include
diff --git a/pcsx2/USB/linux/config.cpp b/pcsx2/USB/linux/config.cpp
index 4d5b57bb7d..087b87b57f 100644
--- a/pcsx2/USB/linux/config.cpp
+++ b/pcsx2/USB/linux/config.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "../osdebugout.h"
#include "../configuration.h"
#include "../deviceproxy.h"
@@ -13,4 +28,4 @@ void SysMessage_stderr(const char *fmt, ...)
va_start(arglist, fmt);
vfprintf(stderr, fmt, arglist);
va_end(arglist);
-}
\ No newline at end of file
+}
diff --git a/pcsx2/USB/linux/config.h b/pcsx2/USB/linux/config.h
index 0952078cc4..a93a7b314e 100644
--- a/pcsx2/USB/linux/config.h
+++ b/pcsx2/USB/linux/config.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#ifndef LINUXCONFIG_H
#define LINUXCONFIG_H
#include
diff --git a/pcsx2/USB/linux/ini.c b/pcsx2/USB/linux/ini.c
index 7ff0595d4f..4fc055cf09 100644
--- a/pcsx2/USB/linux/ini.c
+++ b/pcsx2/USB/linux/ini.c
@@ -1,24 +1,18 @@
-/* ini.c
- * Copyright (C) 2002-2005 PCSX2 Team
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
- *
- * PCSX2 members can be contacted through their website at www.pcsx2.net.
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
*/
-
#include // NULL
#include // sprintf()
#include // va_start(), va_end(), vsprintf()
diff --git a/pcsx2/USB/linux/ini.h b/pcsx2/USB/linux/ini.h
index 8413b00ba3..a7b261c383 100644
--- a/pcsx2/USB/linux/ini.h
+++ b/pcsx2/USB/linux/ini.h
@@ -1,24 +1,18 @@
-/* ini.h
- * Copyright (C) 2002-2005 PCSX2 Team
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
- *
- * PCSX2 members can be contacted through their website at www.pcsx2.net.
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
*/
-
#ifndef INI_H
#define INI_H
diff --git a/pcsx2/USB/linux/util.cpp b/pcsx2/USB/linux/util.cpp
index 7cf5d057f8..990a5e6ec8 100644
--- a/pcsx2/USB/linux/util.cpp
+++ b/pcsx2/USB/linux/util.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "util.h"
#include
#include
diff --git a/pcsx2/USB/linux/util.h b/pcsx2/USB/linux/util.h
index 418df607ad..6fda7cda24 100644
--- a/pcsx2/USB/linux/util.h
+++ b/pcsx2/USB/linux/util.h
@@ -1,5 +1,20 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#pragma once
#include
bool file_exists(std::string path);
-bool dir_exists(std::string path);
\ No newline at end of file
+bool dir_exists(std::string path);
diff --git a/pcsx2/USB/osdebugout.cpp b/pcsx2/USB/osdebugout.cpp
index 7d696a001a..9e47a72c4d 100644
--- a/pcsx2/USB/osdebugout.cpp
+++ b/pcsx2/USB/osdebugout.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "osdebugout.h"
std::wostream& operator<<(std::wostream& os, const std::string& s) {
@@ -44,4 +59,4 @@ void _OSDebugOut(const TCHAR *psz_fmt, ...)
// fwprintf(hfile, L"%s", &msg[0]);
OutputDebugString(&msg[0]);
}
-#endif
\ No newline at end of file
+#endif
diff --git a/pcsx2/USB/osdebugout.h b/pcsx2/USB/osdebugout.h
index ad3ea84604..777d48af49 100644
--- a/pcsx2/USB/osdebugout.h
+++ b/pcsx2/USB/osdebugout.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#pragma once
#include
diff --git a/pcsx2/USB/platcompat.h b/pcsx2/USB/platcompat.h
index 988d310dd4..6c6cc43a26 100644
--- a/pcsx2/USB/platcompat.h
+++ b/pcsx2/USB/platcompat.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#pragma once
// Annoying defines
diff --git a/pcsx2/USB/proxybase.h b/pcsx2/USB/proxybase.h
index 36c7bdfe33..dc840b603b 100644
--- a/pcsx2/USB/proxybase.h
+++ b/pcsx2/USB/proxybase.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#pragma once
//TODO Maybe too much inheritance?
class ProxyBase
@@ -7,4 +22,4 @@ class ProxyBase
virtual ~ProxyBase() {}
virtual const TCHAR* Name() const = 0;
virtual int Configure(int port, const char* dev_type, void *data) = 0;
-};
\ No newline at end of file
+};
diff --git a/pcsx2/USB/qemu-usb/USBinternal.h b/pcsx2/USB/qemu-usb/USBinternal.h
index dfd2e3ac60..df475137f3 100644
--- a/pcsx2/USB/qemu-usb/USBinternal.h
+++ b/pcsx2/USB/qemu-usb/USBinternal.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#ifndef USBINTERNAL_H
#define USBINTERNAL_H
@@ -284,4 +299,4 @@ void ohci_hard_reset(OHCIState *ohci);
void ohci_soft_reset(OHCIState *ohci);
int ohci_bus_start(OHCIState *ohci);
void ohci_bus_stop(OHCIState *ohci);
-#endif
\ No newline at end of file
+#endif
diff --git a/pcsx2/USB/qemu-usb/bus.cpp b/pcsx2/USB/qemu-usb/bus.cpp
index 3e3ae548ed..5976ca27f9 100644
--- a/pcsx2/USB/qemu-usb/bus.cpp
+++ b/pcsx2/USB/qemu-usb/bus.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "USBinternal.h"
#include "vl.h"
diff --git a/pcsx2/USB/qemu-usb/desc.cpp b/pcsx2/USB/qemu-usb/desc.cpp
index 5cb346b9b2..dcc1800031 100644
--- a/pcsx2/USB/qemu-usb/desc.cpp
+++ b/pcsx2/USB/qemu-usb/desc.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "vl.h"
#include "desc.h"
#include "glib.h"
diff --git a/pcsx2/USB/qemu-usb/desc.h b/pcsx2/USB/qemu-usb/desc.h
index 90ebe9797c..dfd32ba674 100644
--- a/pcsx2/USB/qemu-usb/desc.h
+++ b/pcsx2/USB/qemu-usb/desc.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#pragma once
#include
diff --git a/pcsx2/USB/qemu-usb/glib.cpp b/pcsx2/USB/qemu-usb/glib.cpp
index 90c97c74fb..8175dcbab1 100644
--- a/pcsx2/USB/qemu-usb/glib.cpp
+++ b/pcsx2/USB/qemu-usb/glib.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "glib.h"
#include
#include
@@ -148,4 +163,4 @@ my_g_realloc_n (void* mem,
}
return my_g_realloc (mem, n_blocks * n_block_bytes);
-}
\ No newline at end of file
+}
diff --git a/pcsx2/USB/qemu-usb/glib.h b/pcsx2/USB/qemu-usb/glib.h
index 8130422ab0..cc80ed1b57 100644
--- a/pcsx2/USB/qemu-usb/glib.h
+++ b/pcsx2/USB/qemu-usb/glib.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#ifndef GLIB_H
#define GLIB_H
#include
diff --git a/pcsx2/USB/qemu-usb/hid.h b/pcsx2/USB/qemu-usb/hid.h
index 5b80b54ca3..2ccb9cda53 100644
--- a/pcsx2/USB/qemu-usb/hid.h
+++ b/pcsx2/USB/qemu-usb/hid.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#ifndef QEMU_HID_H
#define QEMU_HID_H
#include "vl.h"
diff --git a/pcsx2/USB/qemu-usb/input-keymap-linux-to-qcode.cpp b/pcsx2/USB/qemu-usb/input-keymap-linux-to-qcode.cpp
index 0938561628..e6d4c8a326 100644
--- a/pcsx2/USB/qemu-usb/input-keymap-linux-to-qcode.cpp
+++ b/pcsx2/USB/qemu-usb/input-keymap-linux-to-qcode.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "input-keymap-linux-to-qcode.h"
const QKeyCode qemu_input_map_linux_to_qcode[] = {
Q_KEY_CODE_UNMAPPED, /* linux:0 (KEY_RESERVED) -> linux:0 (KEY_RESERVED) -> qcode:Q_KEY_CODE_UNMAPPED (unmapped) */
@@ -526,4 +541,4 @@ const QKeyCode qemu_input_map_linux_to_qcode[] = {
Q_KEY_CODE_UNMAPPED, /* linux:523 (KEY_NUMERIC_POUND) -> linux:523 (KEY_NUMERIC_POUND) -> qcode:Q_KEY_CODE_UNMAPPED (unnamed) */
Q_KEY_CODE_UNMAPPED, /* linux:524 (KEY_RFKILL) -> linux:524 (KEY_RFKILL) -> qcode:Q_KEY_CODE_UNMAPPED (unnamed) */
};
-const size_t qemu_input_map_linux_to_qcode_len = sizeof(qemu_input_map_linux_to_qcode) / sizeof(qemu_input_map_linux_to_qcode[0]);
\ No newline at end of file
+const size_t qemu_input_map_linux_to_qcode_len = sizeof(qemu_input_map_linux_to_qcode) / sizeof(qemu_input_map_linux_to_qcode[0]);
diff --git a/pcsx2/USB/qemu-usb/input-keymap-linux-to-qcode.h b/pcsx2/USB/qemu-usb/input-keymap-linux-to-qcode.h
index 35180a0023..818a6529a1 100644
--- a/pcsx2/USB/qemu-usb/input-keymap-linux-to-qcode.h
+++ b/pcsx2/USB/qemu-usb/input-keymap-linux-to-qcode.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "hid.h"
extern const QKeyCode qemu_input_map_linux_to_qcode[];
-extern const size_t qemu_input_map_linux_to_qcode_len;
\ No newline at end of file
+extern const size_t qemu_input_map_linux_to_qcode_len;
diff --git a/pcsx2/USB/qemu-usb/input-keymap-qcode-to-qnum.cpp b/pcsx2/USB/qemu-usb/input-keymap-qcode-to-qnum.cpp
index cd2cee959b..a290d2d834 100644
--- a/pcsx2/USB/qemu-usb/input-keymap-qcode-to-qnum.cpp
+++ b/pcsx2/USB/qemu-usb/input-keymap-qcode-to-qnum.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include "input-keymap.h"
//TODO how much does std::map kill perf if any?
@@ -195,4 +210,4 @@ int qemu_input_key_value_to_scancode(const KeyValue *value, bool down,
codes[count++] = keycode;
return count;
-}
\ No newline at end of file
+}
diff --git a/pcsx2/USB/qemu-usb/input-keymap-win32-to-qcode.cpp b/pcsx2/USB/qemu-usb/input-keymap-win32-to-qcode.cpp
index eaaa814113..0619b26b14 100644
--- a/pcsx2/USB/qemu-usb/input-keymap-win32-to-qcode.cpp
+++ b/pcsx2/USB/qemu-usb/input-keymap-win32-to-qcode.cpp
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
/*
* This file is auto-generated from keymaps.csv on 2018-12-22 15:48
* To re-generate, run:
diff --git a/pcsx2/USB/qemu-usb/input-keymap-win32-to-qcode.h b/pcsx2/USB/qemu-usb/input-keymap-win32-to-qcode.h
index 58b57f81fe..024661b1df 100644
--- a/pcsx2/USB/qemu-usb/input-keymap-win32-to-qcode.h
+++ b/pcsx2/USB/qemu-usb/input-keymap-win32-to-qcode.h
@@ -1,3 +1,18 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
/*
* This file is auto-generated from keymaps.csv on 2018-12-22 15:48
* Database checksum sha256(ef8f29f4e4294479e2789aa61e410c4b0464d4f0ad16bcc1526086a4f123bc10)
@@ -6,4 +21,4 @@
*/
#include
#include "hid.h"
-extern const std::array qemu_input_map_win32_to_qcode;
\ No newline at end of file
+extern const std::array qemu_input_map_win32_to_qcode;
diff --git a/pcsx2/USB/qemu-usb/input-keymap.h b/pcsx2/USB/qemu-usb/input-keymap.h
index 516f3c3cdb..29267821e1 100644
--- a/pcsx2/USB/qemu-usb/input-keymap.h
+++ b/pcsx2/USB/qemu-usb/input-keymap.h
@@ -1,7 +1,22 @@
+/* PCSX2 - PS2 Emulator for PCs
+ * Copyright (C) 2002-2020 PCSX2 Dev Team
+ *
+ * PCSX2 is free software: you can redistribute it and/or modify it under the terms
+ * of the GNU Lesser General Public License as published by the Free Software Found-
+ * ation, either version 3 of the License, or (at your option) any later version.
+ *
+ * PCSX2 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with PCSX2.
+ * If not, see .
+ */
+
#include