mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 18:05:45 -04:00
System: Set BIOS before resetting
Fixes incorrect first instruction executing in interpreter mode.
This commit is contained in:
@ -59,11 +59,11 @@ std::optional<Hash> GetHashForFile(const char* filename);
|
||||
const ImageInfo* GetImageInfoForHash(const Hash& hash);
|
||||
bool IsValidHashForRegion(ConsoleRegion region, const Hash& hash);
|
||||
|
||||
void PatchBIOS(Image& image, u32 address, u32 value, u32 mask = UINT32_C(0xFFFFFFFF));
|
||||
void PatchBIOS(u8* image, u32 image_size, u32 address, u32 value, u32 mask = UINT32_C(0xFFFFFFFF));
|
||||
|
||||
bool PatchBIOSEnableTTY(Image& image, const Hash& hash);
|
||||
bool PatchBIOSFastBoot(Image& image, const Hash& hash);
|
||||
bool PatchBIOSForEXE(Image& image, u32 r_pc, u32 r_gp, u32 r_sp, u32 r_fp);
|
||||
bool PatchBIOSEnableTTY(u8* image, u32 image_size, const Hash& hash);
|
||||
bool PatchBIOSFastBoot(u8* image, u32 image_size, const Hash& hash);
|
||||
bool PatchBIOSForEXE(u8* image, u32 image_size, u32 r_pc, u32 r_gp, u32 r_sp, u32 r_fp);
|
||||
|
||||
bool IsValidPSExeHeader(const PSEXEHeader& header, u32 file_size);
|
||||
} // namespace BIOS
|
Reference in New Issue
Block a user