chore: CRLF to LF

This commit is contained in:
smpn2
2022-12-16 23:18:35 +09:00
parent b7a60638a4
commit 6c914266d9
725 changed files with 131020 additions and 131020 deletions
+39 -39
View File
@@ -1,39 +1,39 @@
#pragma once
#include <vector>
#include <windows.h>
#include "util/logging.h"
#include "hooks/devicehook.h"
namespace games::shared {
// current state for easy access
extern bool LCD_ENABLED;
extern std::string LCD_CSM;
extern uint8_t LCD_BRI;
extern uint8_t LCD_CON;
extern uint8_t LCD_BL;
extern uint8_t LCD_RED;
extern uint8_t LCD_GREEN;
extern uint8_t LCD_BLUE;
class LCDHandle : public CustomHandle {
private:
std::vector<uint8_t> read_buffer;
uint64_t read_time_next = 0;
void answer(std::string s);
public:
bool open(LPCWSTR lpFileName) override;
int read(LPVOID lpBuffer, DWORD nNumberOfBytesToRead) override;
int write(LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite) override;
int device_io(DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer,
DWORD nOutBufferSize) override;
bool close() override;
};
}
#pragma once
#include <vector>
#include <windows.h>
#include "util/logging.h"
#include "hooks/devicehook.h"
namespace games::shared {
// current state for easy access
extern bool LCD_ENABLED;
extern std::string LCD_CSM;
extern uint8_t LCD_BRI;
extern uint8_t LCD_CON;
extern uint8_t LCD_BL;
extern uint8_t LCD_RED;
extern uint8_t LCD_GREEN;
extern uint8_t LCD_BLUE;
class LCDHandle : public CustomHandle {
private:
std::vector<uint8_t> read_buffer;
uint64_t read_time_next = 0;
void answer(std::string s);
public:
bool open(LPCWSTR lpFileName) override;
int read(LPVOID lpBuffer, DWORD nNumberOfBytesToRead) override;
int write(LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite) override;
int device_io(DWORD dwIoControlCode, LPVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer,
DWORD nOutBufferSize) override;
bool close() override;
};
}