mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -06:00
add support for writing to VCount. incl. fucked-up display and altering framerate accordingly.
This commit is contained in:
@ -26,6 +26,7 @@ namespace GPU
|
||||
{
|
||||
|
||||
extern u16 VCount;
|
||||
extern u16 TotalScanlines;
|
||||
|
||||
extern u16 DispStat[2];
|
||||
|
||||
@ -385,10 +386,13 @@ T ReadVRAM_TexPal(u32 addr)
|
||||
void DisplaySwap(u32 val);
|
||||
|
||||
void StartFrame();
|
||||
void FinishFrame(u32 lines);
|
||||
void StartScanline(u32 line);
|
||||
|
||||
void SetDispStat(u32 cpu, u16 val);
|
||||
|
||||
void SetVCount(u16 val);
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user