mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 18:12:35 +01:00
10d73988e7
Makes it more self-documenting which stack is being loaded or stored to, as C, D, and magic numbers are extremely vague. It also enforces a strongly-typed API instead of accepting arbitrary integral values. It also adds the two other missing stack register names -- loop address and loop counter.
17 lines
365 B
C++
17 lines
365 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Copyright 2004 Duddie & Tratax
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "Common/CommonTypes.h"
|
|
|
|
namespace DSP
|
|
{
|
|
enum class StackRegister;
|
|
|
|
void dsp_reg_store_stack(StackRegister stack_reg, u16 val);
|
|
u16 dsp_reg_load_stack(StackRegister stack_reg);
|
|
} // namespace DSP
|