File: sg-1000.cpp

package info (click to toggle)
ares 126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 32,600 kB
  • sloc: cpp: 356,508; ansic: 20,394; makefile: 16; sh: 2
file content (15 lines) | stat: -rw-r--r-- 360 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
struct SG1000 : System {
  auto name() -> string override { return "SG-1000"; }
  auto load(string location) -> bool override;
  auto save(string location) -> bool override;
};

auto SG1000::load(string location) -> bool {
  this->location = locate();
  pak = new vfs::directory;
  return true;
}

auto SG1000::save(string location) -> bool {
  return true;
}