refactor: Entire code base, thread and log usage
Boils down to: - Include headers - Reduce boiler plate with helpers - Swap out explicit usages with core API layer and ensure the right API is configured beforehand
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "core/log.h"
|
||||
|
||||
#include "d3d9-util/vertex.h"
|
||||
|
||||
#include "bb-scale-hd.h"
|
||||
#include "util.h"
|
||||
|
||||
#include "util/log.h"
|
||||
|
||||
static bool iidxhook_d3d9_bb_scale_initialized;
|
||||
static uint16_t iidxhook_d3d9_bb_scale_hd_width;
|
||||
static uint16_t iidxhook_d3d9_bb_scale_hd_height;
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#include "d3d9-util/dxerr9.h"
|
||||
#include "core/log.h"
|
||||
|
||||
#include "util/log.h"
|
||||
#include "d3d9-util/dxerr9.h"
|
||||
|
||||
inline void
|
||||
iidxhook_d3d9_util_check_and_handle_failure(HRESULT hr, const char *msg)
|
||||
|
||||
Reference in New Issue
Block a user