mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-25 02:26:54 +01:00
nsyshid: Tidyups and Fixes (#1275)
This commit is contained in:
parent
593da5ed79
commit
517e68fe57
@ -50,7 +50,7 @@ namespace nsyshid
|
||||
std::unique_ptr<FileStream> skyFile;
|
||||
uint8 status = 0;
|
||||
std::queue<uint8> queuedStatus;
|
||||
std::array<uint8, SKY_BLOCK_SIZE> data{};
|
||||
std::array<uint8, SKY_FIGURE_SIZE> data{};
|
||||
uint32 lastId = 0;
|
||||
void Save();
|
||||
|
||||
|
@ -519,7 +519,7 @@ struct CemuConfig
|
||||
struct
|
||||
{
|
||||
ConfigValue<bool> emulate_skylander_portal{false};
|
||||
ConfigValue<bool> emulate_infinity_base{true};
|
||||
ConfigValue<bool> emulate_infinity_base{false};
|
||||
}emulated_usb_devices{};
|
||||
|
||||
private:
|
||||
|
@ -398,7 +398,7 @@ CreateInfinityFigureDialog::CreateInfinityFigureDialog(wxWindow* parent, uint8 s
|
||||
{
|
||||
wxMessageDialog idError(this, "Error Converting Figure Number!", "Number Entered is Invalid");
|
||||
idError.ShowModal();
|
||||
this->EndModal(0);;
|
||||
this->EndModal(0);
|
||||
}
|
||||
uint32 figNum = longFigNum & 0xFFFFFFFF;
|
||||
auto figure = nsyshid::g_infinitybase.FindFigure(figNum);
|
||||
@ -408,7 +408,7 @@ CreateInfinityFigureDialog::CreateInfinityFigureDialog(wxWindow* parent, uint8 s
|
||||
"BIN files (*.bin)|*.bin", wxFD_SAVE | wxFD_OVERWRITE_PROMPT);
|
||||
|
||||
if (saveFileDialog.ShowModal() == wxID_CANCEL)
|
||||
this->EndModal(0);;
|
||||
this->EndModal(0);
|
||||
|
||||
m_filePath = saveFileDialog.GetPath();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user