mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
(driver.c) use msg_hash.h
This commit is contained in:
parent
5cc09b844d
commit
3308ce365f
5
driver.c
5
driver.c
@ -14,11 +14,10 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <rhash.h>
|
||||
|
||||
#include "driver.h"
|
||||
#include "general.h"
|
||||
#include "retroarch.h"
|
||||
#include "msg_hash.h"
|
||||
#include "compat/posix_string.h"
|
||||
#include "gfx/video_monitor.h"
|
||||
#include "audio/audio_monitor.h"
|
||||
@ -90,7 +89,7 @@ static const void *find_driver_nonempty(const char *label, int i,
|
||||
char *s, size_t len)
|
||||
{
|
||||
const void *drv = NULL;
|
||||
uint32_t hash = djb2_calculate(label);
|
||||
uint32_t hash = msg_hash_calculate(label);
|
||||
|
||||
switch (hash)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user