Fixed/removed some TODOs
This commit is contained in:
parent
c000b1fcae
commit
411c026106
4 changed files with 4 additions and 8 deletions
|
@ -22,9 +22,6 @@ protected:
|
|||
|
||||
virtual void RefreshStateBuffer() { }
|
||||
|
||||
//TODO
|
||||
//virtual void StreamState(bool saving);
|
||||
|
||||
void EnsureCapacity(int32_t minBitCount);
|
||||
uint32_t GetByteIndex(uint8_t bit);
|
||||
virtual bool HasCoordinates();
|
||||
|
|
|
@ -148,7 +148,7 @@ void BaseRenderer::ShowGameTimer(int lineNumber)
|
|||
{
|
||||
int yPos = 13 + 24 * lineNumber;
|
||||
double frameCount = _console->GetPpu()->GetFrameCount();
|
||||
bool isPal = false; //TODO
|
||||
bool isPal = _console->GetRegion() == ConsoleRegion::Pal;
|
||||
double frameRate = isPal ? 50.006977968268290848936010226333 : 60.098811862348404716732985230828;
|
||||
uint32_t seconds = (uint32_t)(frameCount / frameRate) % 60;
|
||||
uint32_t minutes = (uint32_t)(frameCount / frameRate / 60) % 60;
|
||||
|
|
|
@ -27,8 +27,7 @@ void BreakpointManager::SetBreakpoints(Breakpoint breakpoints[], uint32_t count)
|
|||
Breakpoint &bp = breakpoints[j];
|
||||
for(int i = 0; i < BreakpointManager::BreakpointTypeCount; i++) {
|
||||
BreakpointType bpType = (BreakpointType)i;
|
||||
bool isEnabled = bp.IsEnabled(); //TODO && _console->GetSettings()->CheckFlag(EmulationFlags::DebuggerWindowEnabled);
|
||||
if((bp.IsMarked() || isEnabled) && bp.HasBreakpointType(bpType)) {
|
||||
if((bp.IsMarked() || bp.IsEnabled()) && bp.HasBreakpointType(bpType)) {
|
||||
BreakpointCategory category = bp.GetBreakpointCategory();
|
||||
CpuType cpuType = category == BreakpointCategory::Spc ? CpuType::Spc : CpuType::Cpu;
|
||||
_breakpoints[(int)category][i].push_back(bp);
|
||||
|
|
|
@ -144,8 +144,8 @@ void Console::Stop(bool sendNotification)
|
|||
_runLock.WaitForRelease();
|
||||
|
||||
if(_cart) {
|
||||
//TODO IPS/BPS patch support
|
||||
_saveStateManager->SaveRecentGame(GetRomInfo().RomFile.GetFileName(), _cart->GetRomInfo().RomFile, "");
|
||||
RomInfo romInfo = _cart->GetRomInfo();
|
||||
_saveStateManager->SaveRecentGame(romInfo.RomFile.GetFileName(), romInfo.RomFile, romInfo.PatchFile);
|
||||
}
|
||||
|
||||
if(sendNotification) {
|
||||
|
|
Loading…
Add table
Reference in a new issue