mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-26 08:40:16 +12:00
Bare minimum createAddressArbiter HLE
This commit is contained in:
parent
cd168bca56
commit
e0204a1eff
7 changed files with 56 additions and 7 deletions
include
|
@ -11,13 +11,15 @@
|
|||
class Emulator {
|
||||
CPU cpu;
|
||||
Memory memory;
|
||||
Kernel kernel;
|
||||
|
||||
sf::RenderWindow window;
|
||||
static constexpr u32 width = 400;
|
||||
static constexpr u32 height = 240 * 2; // * 2 because 2 screens
|
||||
|
||||
public:
|
||||
Emulator() : window(sf::VideoMode(width, height), "Alber", sf::Style::Default, sf::ContextSettings(0, 0, 0, 4, 3)),
|
||||
cpu(memory) {
|
||||
kernel(cpu.regs(), memory), cpu(memory, kernel) {
|
||||
reset();
|
||||
window.setActive(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue