chore: rename skipBios to fastBoot

This commit is contained in:
Rekai Nyangadzayi Musuka 2022-01-25 11:15:17 -04:00
parent 0546b1c308
commit 540fbf739a
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ pub const Arm7tdmi = struct {
self.cpsr.mode.write(@enumToInt(next));
}
pub fn skipBios(self: *Self) void {
pub fn fastBoot(self: *Self) void {
self.r[0] = 0x08000000;
self.r[1] = 0x000000EA;
// GPRs 2 -> 12 *should* already be 0 initialized

View File

@ -41,7 +41,7 @@ pub fn main() anyerror!void {
defer bus.deinit();
var cpu = Arm7tdmi.init(&scheduler, &bus);
cpu.skipBios();
cpu.fastBoot();
// Initialize SDL
const status = SDL.SDL_Init(SDL.SDL_INIT_VIDEO | SDL.SDL_INIT_EVENTS | SDL.SDL_INIT_AUDIO);