mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-12 05:40:04 +00:00
core: clean up warnings
This commit is contained in:
parent
ba6eee71f5
commit
74cd98ecad
35 changed files with 82 additions and 77 deletions
|
@ -74,7 +74,7 @@ void Module::PortConfig::Clear() {
|
|||
transfer_bytes = 256;
|
||||
}
|
||||
|
||||
void Module::CompletionEventCallBack(u64 port_id, int) {
|
||||
void Module::CompletionEventCallBack(u64 port_id, s64) {
|
||||
PortConfig& port = ports[port_id];
|
||||
const CameraConfig& camera = cameras[port.camera_id];
|
||||
const auto buffer = port.capture_result.get();
|
||||
|
@ -1028,7 +1028,7 @@ Module::Module() {
|
|||
}
|
||||
completion_event_callback = CoreTiming::RegisterEvent(
|
||||
"CAM::CompletionEventCallBack",
|
||||
[this](u64 userdata, int cycles_late) { CompletionEventCallBack(userdata, cycles_late); });
|
||||
[this](u64 userdata, s64 cycles_late) { CompletionEventCallBack(userdata, cycles_late); });
|
||||
}
|
||||
|
||||
Module::~Module() {
|
||||
|
|
|
@ -710,7 +710,7 @@ public:
|
|||
};
|
||||
|
||||
private:
|
||||
void CompletionEventCallBack(u64 port_id, int);
|
||||
void CompletionEventCallBack(u64 port_id, s64);
|
||||
|
||||
// Starts a receiving process on the specified port. This can only be called when is_busy = true
|
||||
// and is_receiving = false.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue