Files
spice2x.github.io/src/spice2x/overlay/windows/patch_manager.h
T
bicarus e1d1b39567 patcher: refactor (#808)
## Link to GitHub Issue or related Pull Request, if one exists
n/a

## Description of change
Refactor patch manager.

This one file had the UI logic, config save/load, parsing patches JSON,
applying memory patches, everything all in one cpp file. Refactor and
separate out the layers.

## Testing
Sanity checked patch workflows.
2026-07-17 03:48:01 -07:00

22 lines
463 B
C++

#pragma once
#include "overlay/window.h"
#include "patcher/patch_manager.h"
namespace overlay::windows {
class PatchManager : public Window {
public:
explicit PatchManager(SpiceOverlay *overlay);
~PatchManager() override;
void build_content() override;
private:
static std::string patch_name_filter;
void update_sorted_patches();
void show_patch_tooltip(const patcher::PatchData& patch);
};
}