mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
add missed includes
This commit is contained in:
parent
2965aaf3e3
commit
30469f7fb9
|
|
@ -1336,7 +1336,7 @@ error_code sys_net_bnet_poll(ppu_thread &ppu, vm::ptr<sys_net_pollfd> fds,
|
|||
sock->set_connecting(connecting[i]);
|
||||
#endif
|
||||
|
||||
rx::EnumBitSet<lv2_socket::poll_t> selected = +lv2_socket::poll_t::error;
|
||||
rx::EnumBitSet<lv2_socket::poll_t> selected = lv2_socket::poll_t::error;
|
||||
|
||||
if (fds_buf[i].events & SYS_NET_POLLIN)
|
||||
selected += lv2_socket::poll_t::read;
|
||||
|
|
|
|||
|
|
@ -129,9 +129,9 @@ s32 lv2_socket_raw::poll([[maybe_unused]] sys_net_pollfd &sn_pfd,
|
|||
return {};
|
||||
}
|
||||
|
||||
std::tuple<bool, bool, bool>
|
||||
lv2_socket_raw::select([[maybe_unused]] rx::EnumBitSet<lv2_socket::poll_t> selected,
|
||||
[[maybe_unused]] pollfd &native_pfd) {
|
||||
std::tuple<bool, bool, bool> lv2_socket_raw::select(
|
||||
[[maybe_unused]] rx::EnumBitSet<lv2_socket::poll_t> selected,
|
||||
[[maybe_unused]] pollfd &native_pfd) {
|
||||
LOG_ONCE(raw_select, "lv2_socket_raw::select");
|
||||
return {};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "Loader/PSF.h"
|
||||
#include "util/StrFmt.h"
|
||||
#include "util/endian.hpp"
|
||||
#include "util/types.hpp"
|
||||
#include "util/File.h"
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ struct ppu_module : public Type
|
|||
std::string name{}; // Filename
|
||||
std::string path{}; // Filepath
|
||||
s64 offset = 0; // Offset of file
|
||||
mutable rx::EnumBitSet<ppu_attr> attr{}; // Shared module attributes
|
||||
mutable rx::EnumBitSet<ppu_attr> attr{}; // Shared module attributes
|
||||
std::string cache{}; // Cache file path
|
||||
std::vector<ppu_reloc> relocs{}; // Relocations
|
||||
std::vector<ppu_segment> segs{}; // Segments
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "util/types.hpp"
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
|
|
|||
Loading…
Reference in a new issue